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