Fix loading the global receiver on ARM.
R=dcarney@chromium.org Review URL: https://codereview.chromium.org/138463002 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@18593 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
parent
952fbe475f
commit
cfcb201367
@ -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));
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user