Chromium Code Reviews| Index: src/compiler/arm/code-generator-arm.cc |
| diff --git a/src/compiler/arm/code-generator-arm.cc b/src/compiler/arm/code-generator-arm.cc |
| index 26ad5b03179d06c680e71f9e16ca521c33ab7c26..629e8297a074333e292ce7593cc30e7e75f51dcd 100644 |
| --- a/src/compiler/arm/code-generator-arm.cc |
| +++ b/src/compiler/arm/code-generator-arm.cc |
| @@ -872,6 +872,8 @@ void CodeGenerator::AssemblePrologue() { |
| // remaining stack slots. |
| if (FLAG_code_comments) __ RecordComment("-- OSR entrypoint --"); |
| osr_pc_offset_ = __ pc_offset(); |
| + // TODO(titzer): cannot address target function == local #-1 |
| + __ ldr(r1, MemOperand(fp, -2 * kPointerSize)); |
|
Michael Starzinger
2015/03/25 14:27:37
Please use JavaScriptFrameConstants::kFunctionOffs
titzer
2015/03/25 16:12:05
Done.
|
| DCHECK(stack_slots >= frame()->GetOsrStackSlotCount()); |
| stack_slots -= frame()->GetOsrStackSlotCount(); |
| } |