Index: src/mips/code-stubs-mips.cc |
diff --git a/src/mips/code-stubs-mips.cc b/src/mips/code-stubs-mips.cc |
index b1411d52492113b35173302a5780c48fe0f8a89e..04aa17dfe25c7a3536e5600b4d644f0830d79232 100644 |
--- a/src/mips/code-stubs-mips.cc |
+++ b/src/mips/code-stubs-mips.cc |
@@ -3161,9 +3161,11 @@ |
STATIC_ASSERT(kSmiTag == 0); |
STATIC_ASSERT(kSmiShiftSize == 0); |
- DCHECK(base::bits::IsPowerOfTwo32(String::kMaxOneByteCharCodeU + 1)); |
- __ And(t0, code_, Operand(kSmiTagMask | |
- ((~String::kMaxOneByteCharCodeU) << kSmiTagSize))); |
+ DCHECK(base::bits::IsPowerOfTwo32(String::kMaxOneByteCharCode + 1)); |
+ __ And(t0, |
+ code_, |
+ Operand(kSmiTagMask | |
+ ((~String::kMaxOneByteCharCode) << kSmiTagSize))); |
__ Branch(&slow_case_, ne, t0, Operand(zero_reg)); |
__ LoadRoot(result_, Heap::kSingleCharacterStringCacheRootIndex); |