Index: src/mips/macro-assembler-mips.cc |
diff --git a/src/mips/macro-assembler-mips.cc b/src/mips/macro-assembler-mips.cc |
index aebfe73fa66f34e2e9becbcb649e8650cd391796..11c641d93afcdcc9b0651bb2d39422f44b6b7659 100644 |
--- a/src/mips/macro-assembler-mips.cc |
+++ b/src/mips/macro-assembler-mips.cc |
@@ -3109,9 +3109,9 @@ void MacroAssembler::AllocateAsciiString(Register result, |
Label* gc_required) { |
// Calculate the number of bytes needed for the characters in the string |
// while observing object alignment. |
- ASSERT((SeqAsciiString::kHeaderSize & kObjectAlignmentMask) == 0); |
+ ASSERT((SeqOneByteString::kHeaderSize & kObjectAlignmentMask) == 0); |
ASSERT(kCharSize == 1); |
- addiu(scratch1, length, kObjectAlignmentMask + SeqAsciiString::kHeaderSize); |
+ addiu(scratch1, length, kObjectAlignmentMask + SeqOneByteString::kHeaderSize); |
And(scratch1, scratch1, Operand(~kObjectAlignmentMask)); |
// Allocate ASCII string in new space. |