Index: src/arm64/stub-cache-arm64.cc |
diff --git a/src/arm64/stub-cache-arm64.cc b/src/arm64/stub-cache-arm64.cc |
index dc0220cada6cc4639d1d06566ed74f7f6523e2b0..6bdeb2b3544357cb06e1392b12bf7f00d4671fb4 100644 |
--- a/src/arm64/stub-cache-arm64.cc |
+++ b/src/arm64/stub-cache-arm64.cc |
@@ -1175,8 +1175,7 @@ void StoreStubCompiler::GenerateStoreViaSetter( |
if (IC::TypeToMap(*type, masm->isolate())->IsJSGlobalObjectMap()) { |
// Swap in the global receiver. |
__ Ldr(receiver, |
- FieldMemOperand( |
- receiver, JSGlobalObject::kGlobalReceiverOffset)); |
+ FieldMemOperand(receiver, JSGlobalObject::kGlobalProxyOffset)); |
} |
__ Push(receiver, value()); |
ParameterCount actual(1); |
@@ -1295,8 +1294,7 @@ void LoadStubCompiler::GenerateLoadViaGetter(MacroAssembler* masm, |
if (IC::TypeToMap(*type, masm->isolate())->IsJSGlobalObjectMap()) { |
// Swap in the global receiver. |
__ Ldr(receiver, |
- FieldMemOperand( |
- receiver, JSGlobalObject::kGlobalReceiverOffset)); |
+ FieldMemOperand(receiver, JSGlobalObject::kGlobalProxyOffset)); |
} |
__ Push(receiver); |
ParameterCount actual(0); |