Index: src/arm/macro-assembler-arm.cc |
diff --git a/src/arm/macro-assembler-arm.cc b/src/arm/macro-assembler-arm.cc |
index c7d0f26be830dd74fe3bf8ff5a503d88644759f4..158476ecdb241699dcf1a9feecb82929d76bfc64 100644 |
--- a/src/arm/macro-assembler-arm.cc |
+++ b/src/arm/macro-assembler-arm.cc |
@@ -1786,10 +1786,10 @@ 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); |
add(scratch1, length, |
- Operand(kObjectAlignmentMask + SeqAsciiString::kHeaderSize)); |
+ Operand(kObjectAlignmentMask + SeqOneByteString::kHeaderSize)); |
and_(scratch1, scratch1, Operand(~kObjectAlignmentMask)); |
// Allocate ASCII string in new space. |