Index: src/mips/code-stubs-mips.cc |
diff --git a/src/mips/code-stubs-mips.cc b/src/mips/code-stubs-mips.cc |
index a05cee86bb1cf175c9e697672a8a40743c1b1dd3..caa2d86a86dd611162538d161ea547392471d5af 100644 |
--- a/src/mips/code-stubs-mips.cc |
+++ b/src/mips/code-stubs-mips.cc |
@@ -5713,11 +5713,11 @@ void StringCharFromCodeGenerator::GenerateFast(MacroAssembler* masm) { |
STATIC_ASSERT(kSmiTag == 0); |
STATIC_ASSERT(kSmiShiftSize == 0); |
- ASSERT(IsPowerOf2(String::kMaxAsciiCharCode + 1)); |
+ ASSERT(IsPowerOf2(String::kMaxOneByteCharCode + 1)); |
__ And(t0, |
code_, |
Operand(kSmiTagMask | |
- ((~String::kMaxAsciiCharCode) << kSmiTagSize))); |
+ ((~String::kMaxOneByteCharCode) << kSmiTagSize))); |
__ Branch(&slow_case_, ne, t0, Operand(zero_reg)); |
__ LoadRoot(result_, Heap::kSingleCharacterStringCacheRootIndex); |