| Index: src/ia32/code-stubs-ia32.cc
|
| diff --git a/src/ia32/code-stubs-ia32.cc b/src/ia32/code-stubs-ia32.cc
|
| index 36b8c0ba9d32dc2912bbd3d5e75d69e8837bb57b..95287cb9b23ad3f9bb9247662fe9f3e1b630447c 100644
|
| --- a/src/ia32/code-stubs-ia32.cc
|
| +++ b/src/ia32/code-stubs-ia32.cc
|
| @@ -893,7 +893,7 @@ void ArgumentsAccessStub::GenerateNewSloppyFast(MacroAssembler* masm) {
|
| // Get the arguments map from the current native context into edi.
|
| Label has_mapped_parameters, instantiate;
|
| __ mov(edi, Operand(esi, Context::SlotOffset(Context::GLOBAL_OBJECT_INDEX)));
|
| - __ mov(edi, FieldOperand(edi, GlobalObject::kNativeContextOffset));
|
| + __ mov(edi, FieldOperand(edi, JSGlobalObject::kNativeContextOffset));
|
| __ mov(ebx, Operand(esp, 0 * kPointerSize));
|
| __ test(ebx, ebx);
|
| __ j(not_zero, &has_mapped_parameters, Label::kNear);
|
| @@ -1097,7 +1097,7 @@ void ArgumentsAccessStub::GenerateNewStrict(MacroAssembler* masm) {
|
|
|
| // Get the arguments map from the current native context.
|
| __ mov(edi, Operand(esi, Context::SlotOffset(Context::GLOBAL_OBJECT_INDEX)));
|
| - __ mov(edi, FieldOperand(edi, GlobalObject::kNativeContextOffset));
|
| + __ mov(edi, FieldOperand(edi, JSGlobalObject::kNativeContextOffset));
|
| const int offset = Context::SlotOffset(Context::STRICT_ARGUMENTS_MAP_INDEX);
|
| __ mov(edi, Operand(edi, offset));
|
|
|
|
|