Chromium Code Reviews| Index: src/arm/lithium-codegen-arm.cc |
| diff --git a/src/arm/lithium-codegen-arm.cc b/src/arm/lithium-codegen-arm.cc |
| index f5d744914977f3d90a008c1f7f6bc42c06a0ebc2..28e36d41ff67b85c7951503e7d30aca81c86b373 100644 |
| --- a/src/arm/lithium-codegen-arm.cc |
| +++ b/src/arm/lithium-codegen-arm.cc |
| @@ -2750,6 +2750,13 @@ void LCodeGen::DoContext(LContext* instr) { |
| } |
| +void LCodeGen::DoInlinedContext(LInlinedContext* instr) { |
| + Register result = ToRegister(instr->result()); |
|
Kevin Millikin (Chromium)
2011/09/15 11:17:24
This is dead code?
|
| + __ Move(result, instr->closure()); |
| + __ ldr(result, FieldMemOperand(result, JSFunction::kContextOffset)); |
| +} |
| + |
| + |
| void LCodeGen::DoOuterContext(LOuterContext* instr) { |
| Register context = ToRegister(instr->context()); |
| Register result = ToRegister(instr->result()); |