diff --git a/src/arm/lithium-codegen-arm.cc b/src/arm/lithium-codegen-arm.cc index 6292ccfafc..bf87123888 100644 --- a/src/arm/lithium-codegen-arm.cc +++ b/src/arm/lithium-codegen-arm.cc @@ -3505,8 +3505,7 @@ void LCodeGen::DoWrapReceiver(LWrapReceiver* instr) { __ bind(&global_object); __ ldr(receiver, FieldMemOperand(function, JSFunction::kContextOffset)); __ ldr(receiver, - ContextOperand(receiver, - Context::SlotOffset(Context::GLOBAL_OBJECT_INDEX))); + ContextOperand(receiver, Context::GLOBAL_OBJECT_INDEX)); __ ldr(receiver, FieldMemOperand(receiver, GlobalObject::kGlobalReceiverOffset));