Index: src/mips/stub-cache-mips.cc |
diff --git a/src/mips/stub-cache-mips.cc b/src/mips/stub-cache-mips.cc |
index e3d8fe14d939bac5a876a8cb580631acd97536ce..7313a306da53e6e6d11598f3f54e7f2a691f7b69 100644 |
--- a/src/mips/stub-cache-mips.cc |
+++ b/src/mips/stub-cache-mips.cc |
@@ -1195,8 +1195,7 @@ void StoreStubCompiler::GenerateStoreViaSetter( |
if (IC::TypeToMap(*type, masm->isolate())->IsJSGlobalObjectMap()) { |
// Swap in the global receiver. |
__ lw(receiver, |
- FieldMemOperand( |
- receiver, JSGlobalObject::kGlobalReceiverOffset)); |
+ FieldMemOperand(receiver, JSGlobalObject::kGlobalProxyOffset)); |
} |
__ Push(receiver, value()); |
ParameterCount actual(1); |
@@ -1310,8 +1309,7 @@ void LoadStubCompiler::GenerateLoadViaGetter(MacroAssembler* masm, |
if (IC::TypeToMap(*type, masm->isolate())->IsJSGlobalObjectMap()) { |
// Swap in the global receiver. |
__ lw(receiver, |
- FieldMemOperand( |
- receiver, JSGlobalObject::kGlobalReceiverOffset)); |
+ FieldMemOperand(receiver, JSGlobalObject::kGlobalProxyOffset)); |
} |
__ push(receiver); |
ParameterCount actual(0); |