Index: src/x87/code-stubs-x87.cc |
diff --git a/src/x87/code-stubs-x87.cc b/src/x87/code-stubs-x87.cc |
index 6aae562bde48b4374edab8f527b430d0f14c9e39..875b798bdafd19c431af1ea4992069bc6e18bbaa 100644 |
--- a/src/x87/code-stubs-x87.cc |
+++ b/src/x87/code-stubs-x87.cc |
@@ -2716,9 +2716,10 @@ |
// Fast case of Heap::LookupSingleCharacterStringFromCode. |
STATIC_ASSERT(kSmiTag == 0); |
STATIC_ASSERT(kSmiShiftSize == 0); |
- DCHECK(base::bits::IsPowerOfTwo32(String::kMaxOneByteCharCodeU + 1)); |
- __ test(code_, Immediate(kSmiTagMask | |
- ((~String::kMaxOneByteCharCodeU) << kSmiTagSize))); |
+ DCHECK(base::bits::IsPowerOfTwo32(String::kMaxOneByteCharCode + 1)); |
+ __ test(code_, |
+ Immediate(kSmiTagMask | |
+ ((~String::kMaxOneByteCharCode) << kSmiTagSize))); |
__ j(not_zero, &slow_case_); |
Factory* factory = masm->isolate()->factory(); |