Index: src/x87/stub-cache-x87.cc |
diff --git a/src/x87/stub-cache-x87.cc b/src/x87/stub-cache-x87.cc |
index faab67a8c4c5c9dd145cfaed6d272b065f533ef4..fbd8a2b2ed7538717abc283e226564e7acaefd60 100644 |
--- a/src/x87/stub-cache-x87.cc |
+++ b/src/x87/stub-cache-x87.cc |
@@ -1176,7 +1176,7 @@ void StoreStubCompiler::GenerateStoreViaSetter( |
if (IC::TypeToMap(*type, masm->isolate())->IsJSGlobalObjectMap()) { |
// Swap in the global receiver. |
__ mov(receiver, |
- FieldOperand(receiver, JSGlobalObject::kGlobalReceiverOffset)); |
+ FieldOperand(receiver, JSGlobalObject::kGlobalProxyOffset)); |
} |
__ push(receiver); |
__ push(value()); |
@@ -1333,7 +1333,7 @@ void LoadStubCompiler::GenerateLoadViaGetter(MacroAssembler* masm, |
if (IC::TypeToMap(*type, masm->isolate())->IsJSGlobalObjectMap()) { |
// Swap in the global receiver. |
__ mov(receiver, |
- FieldOperand(receiver, JSGlobalObject::kGlobalReceiverOffset)); |
+ FieldOperand(receiver, JSGlobalObject::kGlobalProxyOffset)); |
} |
__ push(receiver); |
ParameterCount actual(0); |