Index: src/arm/regexp-macro-assembler-arm.cc |
diff --git a/src/arm/regexp-macro-assembler-arm.cc b/src/arm/regexp-macro-assembler-arm.cc |
index d852d23760415e0d644d19ba085935ff13e7880c..e8926a00902ff6e823e7b3e1aa29efb9548abfdb 100644 |
--- a/src/arm/regexp-macro-assembler-arm.cc |
+++ b/src/arm/regexp-macro-assembler-arm.cc |
@@ -261,7 +261,7 @@ void RegExpMacroAssemblerARM::CheckCharacters(Vector<const uc16> str, |
for (int i = 0; i < str.length(); i++) { |
if (mode_ == ASCII) { |
__ ldrb(r1, MemOperand(r0, char_size(), PostIndex)); |
- ASSERT(str[i] <= String::kMaxAsciiCharCode); |
+ ASSERT(str[i] <= String::kMaxOneByteCharCode); |
__ cmp(r1, Operand(str[i])); |
} else { |
__ ldrh(r1, MemOperand(r0, char_size(), PostIndex)); |
@@ -508,7 +508,7 @@ void RegExpMacroAssemblerARM::CheckBitInTable( |
Handle<ByteArray> table, |
Label* on_bit_set) { |
__ mov(r0, Operand(table)); |
- if (mode_ != ASCII || kTableMask != String::kMaxAsciiCharCode) { |
+ if (mode_ != ASCII || kTableMask != String::kMaxOneByteCharCode) { |
__ and_(r1, current_character(), Operand(kTableSize - 1)); |
__ add(r1, r1, Operand(ByteArray::kHeaderSize - kHeapObjectTag)); |
} else { |