| Index: src/codegen-ia32.cc
|
| diff --git a/src/codegen-ia32.cc b/src/codegen-ia32.cc
|
| index 10c6dd35b8aeacf4f04df821fbfa1e20c58ff08f..bbb3374722ac45b2a8a88829ffaa703a61f9974b 100644
|
| --- a/src/codegen-ia32.cc
|
| +++ b/src/codegen-ia32.cc
|
| @@ -3170,13 +3170,14 @@ void Ia32CodeGenerator::GenerateFastCharCodeAt(ZoneList<Expression*>* args) {
|
|
|
| // 2-byte string.
|
| // Load the 2-byte character code.
|
| - __ movzx_w(eax, FieldOperand(eax, ebx, times_2, TwoByteString::kHeaderSize));
|
| + __ movzx_w(eax,
|
| + FieldOperand(eax, ebx, times_2, SeqTwoByteString::kHeaderSize));
|
| __ jmp(&got_char_code);
|
|
|
| // ASCII string.
|
| __ bind(&ascii_string);
|
| // Load the byte.
|
| - __ movzx_b(eax, FieldOperand(eax, ebx, times_1, AsciiString::kHeaderSize));
|
| + __ movzx_b(eax, FieldOperand(eax, ebx, times_1, SeqAsciiString::kHeaderSize));
|
|
|
| __ bind(&got_char_code);
|
| ASSERT(kSmiTag == 0);
|
|
|