| Index: src/debug/arm64/debug-arm64.cc
|
| diff --git a/src/debug/arm64/debug-arm64.cc b/src/debug/arm64/debug-arm64.cc
|
| index c2b60a9326be95ec970d26b49cf3ff7d839d88e7..50819bcfbd290db60a3255eaefd25793ff7652a4 100644
|
| --- a/src/debug/arm64/debug-arm64.cc
|
| +++ b/src/debug/arm64/debug-arm64.cc
|
| @@ -124,18 +124,26 @@
|
| }
|
|
|
|
|
| +void DebugCodegen::GeneratePlainReturnLiveEdit(MacroAssembler* masm) {
|
| + __ Ret();
|
| +}
|
| +
|
| +
|
| void DebugCodegen::GenerateFrameDropperLiveEdit(MacroAssembler* masm) {
|
| + ExternalReference restarter_frame_function_slot =
|
| + ExternalReference::debug_restarter_frame_function_pointer_address(
|
| + masm->isolate());
|
| + UseScratchRegisterScope temps(masm);
|
| + Register scratch = temps.AcquireX();
|
| +
|
| + __ Mov(scratch, restarter_frame_function_slot);
|
| + __ Str(xzr, MemOperand(scratch));
|
| +
|
| // We do not know our frame height, but set sp based on fp.
|
| __ Sub(masm->StackPointer(), fp, kPointerSize);
|
| __ AssertStackConsistency();
|
|
|
| __ Pop(x1, fp, lr); // Function, Frame, Return address.
|
| -
|
| - ParameterCount dummy(0);
|
| - __ FloodFunctionIfStepping(x1, no_reg, dummy, dummy);
|
| -
|
| - UseScratchRegisterScope temps(masm);
|
| - Register scratch = temps.AcquireX();
|
|
|
| // Load context from the function.
|
| __ Ldr(cp, FieldMemOperand(x1, JSFunction::kContextOffset));
|
|
|