Index: src/mips64/code-stubs-mips64.cc |
diff --git a/src/mips64/code-stubs-mips64.cc b/src/mips64/code-stubs-mips64.cc |
index 094387a23e50091b8e6e982cb29168d9d1658a15..90a72ada64bb785e5f433e0ce9a82d608ceef496 100644 |
--- a/src/mips64/code-stubs-mips64.cc |
+++ b/src/mips64/code-stubs-mips64.cc |
@@ -3198,9 +3198,11 @@ |
DCHECK(!a4.is(code_)); |
STATIC_ASSERT(kSmiTag == 0); |
- DCHECK(base::bits::IsPowerOfTwo32(String::kMaxOneByteCharCodeU + 1)); |
- __ And(a4, code_, Operand(kSmiTagMask | |
- ((~String::kMaxOneByteCharCodeU) << kSmiTagSize))); |
+ DCHECK(base::bits::IsPowerOfTwo32(String::kMaxOneByteCharCode + 1)); |
+ __ And(a4, |
+ code_, |
+ Operand(kSmiTagMask | |
+ ((~String::kMaxOneByteCharCode) << kSmiTagSize))); |
__ Branch(&slow_case_, ne, a4, Operand(zero_reg)); |