Index: src/x64/macro-assembler-x64.cc |
diff --git a/src/x64/macro-assembler-x64.cc b/src/x64/macro-assembler-x64.cc |
index b3e15905aad4654d41ed8041bac60424694959fb..53dedda7ac7212ea282d8e731107e82db1870804 100644 |
--- a/src/x64/macro-assembler-x64.cc |
+++ b/src/x64/macro-assembler-x64.cc |
@@ -2253,7 +2253,8 @@ void MacroAssembler::JumpIfNotBothSequentialAsciiStrings( |
ASSERT(kNotStringTag != 0); |
const int kFlatAsciiStringMask = |
kIsNotStringMask | kStringRepresentationMask | kStringEncodingMask; |
- const int kFlatAsciiStringTag = ASCII_STRING_TYPE; |
+ const int kFlatAsciiStringTag = |
+ kStringTag | kOneByteStringTag | kSeqStringTag; |
andl(scratch1, Immediate(kFlatAsciiStringMask)); |
andl(scratch2, Immediate(kFlatAsciiStringMask)); |
@@ -2299,7 +2300,8 @@ void MacroAssembler::JumpIfBothInstanceTypesAreNotSequentialAscii( |
ASSERT(kNotStringTag != 0); |
const int kFlatAsciiStringMask = |
kIsNotStringMask | kStringRepresentationMask | kStringEncodingMask; |
- const int kFlatAsciiStringTag = ASCII_STRING_TYPE; |
+ const int kFlatAsciiStringTag = |
+ kStringTag | kOneByteStringTag | kSeqStringTag; |
andl(scratch1, Immediate(kFlatAsciiStringMask)); |
andl(scratch2, Immediate(kFlatAsciiStringMask)); |