Index: src/arm/code-stubs-arm.cc |
diff --git a/src/arm/code-stubs-arm.cc b/src/arm/code-stubs-arm.cc |
index 3ab09a2df964ad26bce760eeff3fc6d2a5e48ee7..bad117ed3f0930aecc7064cb28f1d638bf3482a7 100644 |
--- a/src/arm/code-stubs-arm.cc |
+++ b/src/arm/code-stubs-arm.cc |
@@ -5632,10 +5632,10 @@ void StringCharFromCodeGenerator::GenerateFast(MacroAssembler* masm) { |
// Fast case of Heap::LookupSingleCharacterStringFromCode. |
STATIC_ASSERT(kSmiTag == 0); |
STATIC_ASSERT(kSmiShiftSize == 0); |
- ASSERT(IsPowerOf2(String::kMaxAsciiCharCode + 1)); |
+ ASSERT(IsPowerOf2(String::kMaxOneByteCharCode + 1)); |
__ tst(code_, |
Operand(kSmiTagMask | |
- ((~String::kMaxAsciiCharCode) << kSmiTagSize))); |
+ ((~String::kMaxOneByteCharCode) << kSmiTagSize))); |
__ b(ne, &slow_case_); |
__ LoadRoot(result_, Heap::kSingleCharacterStringCacheRootIndex); |