Index: src/mips/lithium-codegen-mips.cc |
diff --git a/src/mips/lithium-codegen-mips.cc b/src/mips/lithium-codegen-mips.cc |
index b0496d2d83ab7a69ffb9b64f001be0a111da40a7..ce82aa652b2f8fff3694934fa27311e566c59c11 100644 |
--- a/src/mips/lithium-codegen-mips.cc |
+++ b/src/mips/lithium-codegen-mips.cc |
@@ -2997,7 +2997,7 @@ void LCodeGen::DoDeclareGlobals(LDeclareGlobals* instr) { |
void LCodeGen::DoGlobalObject(LGlobalObject* instr) { |
Register result = ToRegister(instr->result()); |
- __ lw(result, ContextOperand(cp, Context::GLOBAL_INDEX)); |
+ __ lw(result, ContextOperand(cp, Context::GLOBAL_OBJECT_INDEX)); |
} |