Index: src/ia32/macro-assembler-ia32.cc |
diff --git a/src/ia32/macro-assembler-ia32.cc b/src/ia32/macro-assembler-ia32.cc |
index 0d0bf037751a8361f785844b9cc21fd198459568..26d0f92d262658654cb4e50063ce6d33e1468d0e 100644 |
--- a/src/ia32/macro-assembler-ia32.cc |
+++ b/src/ia32/macro-assembler-ia32.cc |
@@ -2615,7 +2615,7 @@ void MacroAssembler::JumpIfInstanceTypeIsNotSequentialAscii( |
} |
and_(scratch, |
kIsNotStringMask | kStringRepresentationMask | kStringEncodingMask); |
- cmp(scratch, kStringTag | kSeqStringTag | kAsciiStringTag); |
+ cmp(scratch, kStringTag | kSeqStringTag | kOneByteStringTag); |
j(not_equal, failure); |
} |
@@ -2906,7 +2906,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)); |
add(length, Immediate(0x04)); |