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 4e3ea98161dd278f177ecf10918fb3262bac2cb2..7aa26177e7cc9b014391bcbbb7ba745e0828da54 100644 |
| --- a/src/ia32/lithium-codegen-ia32.cc |
| +++ b/src/ia32/lithium-codegen-ia32.cc |
| @@ -2536,6 +2536,13 @@ void LCodeGen::DoContext(LContext* instr) { |
| } |
| +void LCodeGen::DoInlinedContext(LInlinedContext* instr) { |
| + Register result = ToRegister(instr->result()); |
| + __ mov(result, instr->closure()); |
|
Kevin Millikin (Chromium)
2011/09/15 11:17:24
Does something like
__ mov(result, Handle<Context
|
| + __ mov(result, FieldOperand(result, JSFunction::kContextOffset)); |
| +} |
| + |
| + |
| void LCodeGen::DoOuterContext(LOuterContext* instr) { |
| Register context = ToRegister(instr->context()); |
| Register result = ToRegister(instr->result()); |