Revision: 18600
Author: [email protected]
Date: Tue Jan 14 18:26:31 2014 UTC
Log: MIPS: Fix loading the global receiver.
Port r18593 (2162d45)
BUG=
[email protected]
Review URL: https://codereview.chromium.org/137273006
Patch from Balazs Kilvady <[email protected]>.
http://code.google.com/p/v8/source/detail?r=18600
Modified:
/branches/bleeding_edge/src/mips/lithium-codegen-mips.cc
=======================================
--- /branches/bleeding_edge/src/mips/lithium-codegen-mips.cc Tue Jan 14
18:17:24 2014 UTC
+++ /branches/bleeding_edge/src/mips/lithium-codegen-mips.cc Tue Jan 14
18:26:31 2014 UTC
@@ -3378,8 +3378,7 @@
__ bind(&global_object);
__ lw(receiver, FieldMemOperand(function, JSFunction::kContextOffset));
__ lw(receiver,
- ContextOperand(receiver,
- Context::SlotOffset(Context::GLOBAL_OBJECT_INDEX)));
+ ContextOperand(receiver, Context::GLOBAL_OBJECT_INDEX));
__ lw(receiver,
FieldMemOperand(receiver, GlobalObject::kGlobalReceiverOffset));
--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.