Index: src/arm/lithium-codegen-arm.cc |
diff --git a/src/arm/lithium-codegen-arm.cc b/src/arm/lithium-codegen-arm.cc |
index fe29097cdc38d294bdb3abe6891fb7271a452c85..709d1ee6ace858433a5139675dd405cb2373b2a6 100644 |
--- a/src/arm/lithium-codegen-arm.cc |
+++ b/src/arm/lithium-codegen-arm.cc |
@@ -2847,8 +2847,7 @@ void LCodeGen::DoOuterContext(LOuterContext* instr) { |
Register context = ToRegister(instr->context()); |
Register result = ToRegister(instr->result()); |
__ ldr(result, |
- MemOperand(context, Context::SlotOffset(Context::CLOSURE_INDEX))); |
- __ ldr(result, FieldMemOperand(result, JSFunction::kContextOffset)); |
+ MemOperand(context, Context::SlotOffset(Context::PREVIOUS_INDEX))); |
} |