Index: src/mips/macro-assembler-mips.cc |
diff --git a/src/mips/macro-assembler-mips.cc b/src/mips/macro-assembler-mips.cc |
index e0c5787d3b990c86f354033b0daeec41a06c2cc5..64f3631cebf356f3aa7a69fdcc5efaa4c2ecfd93 100644 |
--- a/src/mips/macro-assembler-mips.cc |
+++ b/src/mips/macro-assembler-mips.cc |
@@ -4944,10 +4944,8 @@ void MacroAssembler::JumpIfBothInstanceTypesAreNotSequentialAscii( |
Register scratch2, |
Label* failure) { |
int kFlatAsciiStringMask = |
- kIsNotStringMask | kStringEncodingMask | kAsciiDataHintMask | |
- kStringRepresentationMask; |
+ kIsNotStringMask | kStringEncodingMask | kStringRepresentationMask; |
int kFlatAsciiStringTag = ASCII_STRING_TYPE; |
- ASSERT_EQ(ASCII_STRING_TYPE, ASCII_STRING_TYPE & kFlatAsciiStringMask); |
ASSERT(kFlatAsciiStringTag <= 0xffff); // Ensure this fits 16-bit immed. |
andi(scratch1, first, kFlatAsciiStringMask); |
Branch(failure, ne, scratch1, Operand(kFlatAsciiStringTag)); |
@@ -4960,10 +4958,8 @@ void MacroAssembler::JumpIfInstanceTypeIsNotSequentialAscii(Register type, |
Register scratch, |
Label* failure) { |
int kFlatAsciiStringMask = |
- kIsNotStringMask | kStringEncodingMask | kAsciiDataHintMask | |
- kStringRepresentationMask; |
+ kIsNotStringMask | kStringEncodingMask | kStringRepresentationMask; |
int kFlatAsciiStringTag = ASCII_STRING_TYPE; |
- ASSERT_EQ(ASCII_STRING_TYPE, ASCII_STRING_TYPE & kFlatAsciiStringMask); |
And(scratch, type, Operand(kFlatAsciiStringMask)); |
Branch(failure, ne, scratch, Operand(kFlatAsciiStringTag)); |
} |