Index: src/arm/code-stubs-arm.cc |
diff --git a/src/arm/code-stubs-arm.cc b/src/arm/code-stubs-arm.cc |
index 005fb97513d0277325c9ff516612aeb922f1949c..5c2e43769bdd38006b232da88d493be98c7e5038 100644 |
--- a/src/arm/code-stubs-arm.cc |
+++ b/src/arm/code-stubs-arm.cc |
@@ -3014,10 +3014,9 @@ void StringCharFromCodeGenerator::GenerateFast(MacroAssembler* masm) { |
// Fast case of Heap::LookupSingleCharacterStringFromCode. |
STATIC_ASSERT(kSmiTag == 0); |
STATIC_ASSERT(kSmiShiftSize == 0); |
- DCHECK(base::bits::IsPowerOfTwo32(String::kMaxOneByteCharCode + 1)); |
- __ tst(code_, |
- Operand(kSmiTagMask | |
- ((~String::kMaxOneByteCharCode) << kSmiTagSize))); |
+ DCHECK(base::bits::IsPowerOfTwo32(String::kMaxOneByteCharCodeU + 1)); |
+ __ tst(code_, Operand(kSmiTagMask | |
+ ((~String::kMaxOneByteCharCodeU) << kSmiTagSize))); |
__ b(ne, &slow_case_); |
__ LoadRoot(result_, Heap::kSingleCharacterStringCacheRootIndex); |