Index: src/x64/macro-assembler-x64.cc |
diff --git a/src/x64/macro-assembler-x64.cc b/src/x64/macro-assembler-x64.cc |
index 77506741a3a184e62e75c8db359c68d21711ff66..962c2e8b45e0067e6b81c9601ca2d64b5c1fa5a8 100644 |
--- a/src/x64/macro-assembler-x64.cc |
+++ b/src/x64/macro-assembler-x64.cc |
@@ -2228,7 +2228,7 @@ void MacroAssembler::JumpIfInstanceTypeIsNotSequentialAscii( |
kIsNotStringMask | kStringRepresentationMask | kStringEncodingMask; |
andl(scratch, Immediate(kFlatAsciiStringMask)); |
- cmpl(scratch, Immediate(kStringTag | kSeqStringTag | kAsciiStringTag)); |
+ cmpl(scratch, Immediate(kStringTag | kSeqStringTag | kOneByteStringTag)); |
j(not_equal, failure, near_jump); |
} |
@@ -4503,7 +4503,7 @@ void MacroAssembler::EnsureNotWhite( |
bind(¬_external); |
// Sequential string, either ASCII or UC16. |
- ASSERT(kAsciiStringTag == 0x04); |
+ ASSERT(kOneByteStringTag == 0x04); |
and_(length, Immediate(kStringEncodingMask)); |
xor_(length, Immediate(kStringEncodingMask)); |
addq(length, Immediate(0x04)); |