| Index: src/compiler/arm64/code-generator-arm64.cc
|
| diff --git a/src/compiler/arm64/code-generator-arm64.cc b/src/compiler/arm64/code-generator-arm64.cc
|
| index eed1e13f7600d45366b7b3fdb435d9e3663840cb..34ec3821f7ba1605d0865c5a52414df7848dc993 100644
|
| --- a/src/compiler/arm64/code-generator-arm64.cc
|
| +++ b/src/compiler/arm64/code-generator-arm64.cc
|
| @@ -1001,6 +1001,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(x1, MemOperand(fp, JavaScriptFrameConstants::kFunctionOffset));
|
| DCHECK(stack_slots >= frame()->GetOsrStackSlotCount());
|
| stack_slots -= frame()->GetOsrStackSlotCount();
|
| }
|
|
|