Chromium Code Reviews| Index: src/ia32/lithium-codegen-ia32.cc |
| diff --git a/src/ia32/lithium-codegen-ia32.cc b/src/ia32/lithium-codegen-ia32.cc |
| index 851e13048e35e6b9c19bb463856f707508867db9..67712a7fab150385bb128ef75e3e15deef5a5980 100644 |
| --- a/src/ia32/lithium-codegen-ia32.cc |
| +++ b/src/ia32/lithium-codegen-ia32.cc |
| @@ -2678,8 +2678,7 @@ void LCodeGen::DoContext(LContext* instr) { |
| void LCodeGen::DoOuterContext(LOuterContext* instr) { |
| Register context = ToRegister(instr->context()); |
| Register result = ToRegister(instr->result()); |
| - __ mov(result, Operand(context, Context::SlotOffset(Context::CLOSURE_INDEX))); |
| - __ mov(result, FieldOperand(result, JSFunction::kContextOffset)); |
| + __ mov(result, Operand(context, Context::SlotOffset(Context::PREVIOUS_INDEX))); |
|
Mads Ager (chromium)
2011/06/09 17:32:07
Long line?
|
| } |