| Index: src/compiler/mips/code-generator-mips.cc
|
| diff --git a/src/compiler/mips/code-generator-mips.cc b/src/compiler/mips/code-generator-mips.cc
|
| index 7cf7927ab3facc144bf895103fb36b5c908df1ca..1230ff965feb7bd11aa422fab69b12be1994efb6 100644
|
| --- a/src/compiler/mips/code-generator-mips.cc
|
| +++ b/src/compiler/mips/code-generator-mips.cc
|
| @@ -984,6 +984,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
|
| + __ lw(a1, MemOperand(fp, JavaScriptFrameConstants::kFunctionOffset));
|
| DCHECK(stack_slots >= frame()->GetOsrStackSlotCount());
|
| stack_slots -= frame()->GetOsrStackSlotCount();
|
| }
|
|
|