Reviewers: danno, Toon Verwaest, Paul Lind, palfia, dusmil, kisg,
Description:
MIPS: Fix loading the global receiver.
Port r18593 (2162d45)
BUG=
Please review this at https://codereview.chromium.org/137273006/
SVN Base: https://github.com/v8/v8.git@gbl
Affected files (+1, -2 lines):
M src/mips/lithium-codegen-mips.cc
Index: src/mips/lithium-codegen-mips.cc
diff --git a/src/mips/lithium-codegen-mips.cc
b/src/mips/lithium-codegen-mips.cc
index
104b3bc951484adcc76771d09cff5d8d06853cde..99895a790ede1c2c00c391dfb8e88027cb041366
100644
--- a/src/mips/lithium-codegen-mips.cc
+++ b/src/mips/lithium-codegen-mips.cc
@@ -3380,8 +3380,7 @@ void LCodeGen::DoWrapReceiver(LWrapReceiver* instr) {
__ 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.