Index: src/mips/macro-assembler-mips.cc |
diff --git a/src/mips/macro-assembler-mips.cc b/src/mips/macro-assembler-mips.cc |
index 052387ab0156f5587089cd6e288b93d59cf62209..aebfe73fa66f34e2e9becbcb649e8650cd391796 100644 |
--- a/src/mips/macro-assembler-mips.cc |
+++ b/src/mips/macro-assembler-mips.cc |
@@ -5272,7 +5272,7 @@ void MacroAssembler::EnsureNotWhite( |
// For ASCII (char-size of 1) we shift the smi tag away to get the length. |
// For UC16 (char-size of 2) we just leave the smi tag in place, thereby |
// getting the length multiplied by 2. |
- ASSERT(kAsciiStringTag == 4 && kStringEncodingMask == 4); |
+ ASSERT(kOneByteStringTag == 4 && kStringEncodingMask == 4); |
ASSERT(kSmiTag == 0 && kSmiTagSize == 1); |
lw(t9, FieldMemOperand(value, String::kLengthOffset)); |
And(t8, instance_type, Operand(kStringEncodingMask)); |