Index: src/x64/macro-assembler-x64.cc |
diff --git a/src/x64/macro-assembler-x64.cc b/src/x64/macro-assembler-x64.cc |
index 2a56ab0a13595497019d3c8791f380506f0e4a93..5b85a247d5bf32dbfb93e8294e815b919a25ead8 100644 |
--- a/src/x64/macro-assembler-x64.cc |
+++ b/src/x64/macro-assembler-x64.cc |
@@ -3965,7 +3965,7 @@ void MacroAssembler::AllocateAsciiString(Register result, |
Label* gc_required) { |
// Calculate the number of bytes needed for the characters in the string while |
// observing object alignment. |
- const int kHeaderAlignment = SeqAsciiString::kHeaderSize & |
+ const int kHeaderAlignment = SeqOneByteString::kHeaderSize & |
kObjectAlignmentMask; |
movl(scratch1, length); |
ASSERT(kCharSize == 1); |
@@ -3976,7 +3976,7 @@ void MacroAssembler::AllocateAsciiString(Register result, |
} |
// Allocate ASCII string in new space. |
- AllocateInNewSpace(SeqAsciiString::kHeaderSize, |
+ AllocateInNewSpace(SeqOneByteString::kHeaderSize, |
times_1, |
scratch1, |
result, |