Index: src/arm/lithium-codegen-arm.cc |
diff --git a/src/arm/lithium-codegen-arm.cc b/src/arm/lithium-codegen-arm.cc |
index 2ce876733ef1ad1d961aae0e8a019229e20e0b8a..776d1b87513ad6bf6f42bd30d72f25bb0403ba8e 100644 |
--- a/src/arm/lithium-codegen-arm.cc |
+++ b/src/arm/lithium-codegen-arm.cc |
@@ -130,7 +130,7 @@ bool LCodeGen::GeneratePrologue() { |
__ b(ne, &ok); |
__ ldr(r2, GlobalObjectOperand()); |
- __ ldr(r2, FieldMemOperand(r2, GlobalObject::kGlobalReceiverOffset)); |
+ __ ldr(r2, FieldMemOperand(r2, GlobalObject::kGlobalProxyOffset)); |
__ str(r2, MemOperand(sp, receiver_offset)); |
@@ -3472,8 +3472,7 @@ void LCodeGen::DoWrapReceiver(LWrapReceiver* instr) { |
__ ldr(result, FieldMemOperand(function, JSFunction::kContextOffset)); |
__ ldr(result, |
ContextOperand(result, Context::GLOBAL_OBJECT_INDEX)); |
- __ ldr(result, |
- FieldMemOperand(result, GlobalObject::kGlobalReceiverOffset)); |
+ __ ldr(result, FieldMemOperand(result, GlobalObject::kGlobalProxyOffset)); |
if (result.is(receiver)) { |
__ bind(&result_in_receiver); |