| Index: src/x64/lithium-codegen-x64.cc
|
| diff --git a/src/x64/lithium-codegen-x64.cc b/src/x64/lithium-codegen-x64.cc
|
| index fb0520ae67c5d876441084d5f253cf3ea143d0c5..e7b66f2cc771e353286dade2aa09b36d5fee347b 100644
|
| --- a/src/x64/lithium-codegen-x64.cc
|
| +++ b/src/x64/lithium-codegen-x64.cc
|
| @@ -2682,8 +2682,7 @@ void LCodeGen::DoOuterContext(LOuterContext* instr) {
|
| Register context = ToRegister(instr->context());
|
| Register result = ToRegister(instr->result());
|
| __ movq(result,
|
| - Operand(context, Context::SlotOffset(Context::CLOSURE_INDEX)));
|
| - __ movq(result, FieldOperand(result, JSFunction::kContextOffset));
|
| + Operand(context, Context::SlotOffset(Context::PREVIOUS_INDEX)));
|
| }
|
|
|
|
|
|
|