Index: src/x87/code-stubs-x87.cc |
diff --git a/src/x87/code-stubs-x87.cc b/src/x87/code-stubs-x87.cc |
index cbdb8f97461f2cc709bd1935b23e096e9ec93e06..0890e9fafc185461420064b934d0c1e495c1a623 100644 |
--- a/src/x87/code-stubs-x87.cc |
+++ b/src/x87/code-stubs-x87.cc |
@@ -594,7 +594,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); |
@@ -798,7 +798,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)); |