Commit 3f2e6ce1 authored by plind44@gmail.com's avatar plind44@gmail.com

MIPS: Fix loading the global receiver.

Port r18593 (2162d45)

BUG=
R=plind44@gmail.com

Review URL: https://codereview.chromium.org/137273006

Patch from Balazs Kilvady <kilvadyb@homejinni.com>.

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@18600 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent a45f50a1
...@@ -3378,8 +3378,7 @@ void LCodeGen::DoWrapReceiver(LWrapReceiver* instr) { ...@@ -3378,8 +3378,7 @@ void LCodeGen::DoWrapReceiver(LWrapReceiver* instr) {
__ bind(&global_object); __ bind(&global_object);
__ lw(receiver, FieldMemOperand(function, JSFunction::kContextOffset)); __ lw(receiver, FieldMemOperand(function, JSFunction::kContextOffset));
__ lw(receiver, __ lw(receiver,
ContextOperand(receiver, ContextOperand(receiver, Context::GLOBAL_OBJECT_INDEX));
Context::SlotOffset(Context::GLOBAL_OBJECT_INDEX)));
__ lw(receiver, __ lw(receiver,
FieldMemOperand(receiver, GlobalObject::kGlobalReceiverOffset)); FieldMemOperand(receiver, GlobalObject::kGlobalReceiverOffset));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment