Index: src/mips/code-stubs-mips.cc |
diff --git a/src/mips/code-stubs-mips.cc b/src/mips/code-stubs-mips.cc |
index 3cf1145a1931b4e3cb4136000a86cfe0c68dd1fd..845b83a8637e9edca574745c7ff4370059850188 100644 |
--- a/src/mips/code-stubs-mips.cc |
+++ b/src/mips/code-stubs-mips.cc |
@@ -1699,7 +1699,7 @@ void ArgumentsAccessStub::GenerateNewSloppyFast(MacroAssembler* masm) { |
Context::SlotOffset(Context::FAST_ALIASED_ARGUMENTS_MAP_INDEX); |
__ lw(t0, MemOperand(cp, Context::SlotOffset(Context::GLOBAL_OBJECT_INDEX))); |
- __ lw(t0, FieldMemOperand(t0, GlobalObject::kNativeContextOffset)); |
+ __ lw(t0, FieldMemOperand(t0, JSGlobalObject::kNativeContextOffset)); |
Label skip2_ne, skip2_eq; |
__ Branch(&skip2_ne, ne, t2, Operand(zero_reg)); |
__ lw(t0, MemOperand(t0, kNormalOffset)); |
@@ -1903,7 +1903,7 @@ void ArgumentsAccessStub::GenerateNewStrict(MacroAssembler* masm) { |
// Get the arguments boilerplate from the current native context. |
__ lw(t0, MemOperand(cp, Context::SlotOffset(Context::GLOBAL_OBJECT_INDEX))); |
- __ lw(t0, FieldMemOperand(t0, GlobalObject::kNativeContextOffset)); |
+ __ lw(t0, FieldMemOperand(t0, JSGlobalObject::kNativeContextOffset)); |
__ lw(t0, MemOperand( |
t0, Context::SlotOffset(Context::STRICT_ARGUMENTS_MAP_INDEX))); |