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)); |