Index: src/ia32/code-stubs-ia32.cc |
diff --git a/src/ia32/code-stubs-ia32.cc b/src/ia32/code-stubs-ia32.cc |
index 92f55b8049303380244e5b3ccd989dcf02d794ab..79ce3c4a18f9f35250794d195770cbb7c5e4b6e3 100644 |
--- a/src/ia32/code-stubs-ia32.cc |
+++ b/src/ia32/code-stubs-ia32.cc |
@@ -5472,10 +5472,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)); |
__ test(code_, |
Immediate(kSmiTagMask | |
- ((~String::kMaxAsciiCharCode) << kSmiTagSize))); |
+ ((~String::kMaxOneByteCharCode) << kSmiTagSize))); |
__ j(not_zero, &slow_case_); |
Factory* factory = masm->isolate()->factory(); |