Index: src/arm/macro-assembler-arm.cc |
diff --git a/src/arm/macro-assembler-arm.cc b/src/arm/macro-assembler-arm.cc |
index d7ea107dcf3ae7cba86332f72c1ddf162fe68dfd..ffa25eb60efc819ce6db15ff48530ed648a58858 100644 |
--- a/src/arm/macro-assembler-arm.cc |
+++ b/src/arm/macro-assembler-arm.cc |
@@ -3399,10 +3399,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); |
and_(scratch1, first, Operand(kFlatAsciiStringMask)); |
and_(scratch2, second, Operand(kFlatAsciiStringMask)); |
cmp(scratch1, Operand(kFlatAsciiStringTag)); |
@@ -3416,10 +3414,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)); |
cmp(scratch, Operand(kFlatAsciiStringTag)); |
b(ne, failure); |