| 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..c24370102e509930466c95bf2e6b3a3d1451d163 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, -2 * kPointerSize));
 | 
|      DCHECK(stack_slots >= frame()->GetOsrStackSlotCount());
 | 
|      stack_slots -= frame()->GetOsrStackSlotCount();
 | 
|    }
 | 
| 
 |