Index: src/debug/x64/debug-x64.cc |
diff --git a/src/debug/x64/debug-x64.cc b/src/debug/x64/debug-x64.cc |
index f53096a83fdcfdf5adb06cb0967f2db11cba679c..2f017c8022b98cdb016355f1e0405222e0243a72 100644 |
--- a/src/debug/x64/debug-x64.cc |
+++ b/src/debug/x64/debug-x64.cc |
@@ -107,15 +107,22 @@ |
} |
+void DebugCodegen::GeneratePlainReturnLiveEdit(MacroAssembler* masm) { |
+ masm->ret(0); |
+} |
+ |
+ |
void DebugCodegen::GenerateFrameDropperLiveEdit(MacroAssembler* masm) { |
+ ExternalReference restarter_frame_function_slot = |
+ ExternalReference::debug_restarter_frame_function_pointer_address( |
+ masm->isolate()); |
+ __ Move(rax, restarter_frame_function_slot); |
+ __ movp(Operand(rax, 0), Immediate(0)); |
+ |
// We do not know our frame height, but set rsp based on rbp. |
__ leap(rsp, Operand(rbp, -1 * kPointerSize)); |
__ Pop(rdi); // Function. |
- |
- ParameterCount dummy(0); |
- __ FloodFunctionIfStepping(rdi, no_reg, dummy, dummy); |
- |
__ popq(rbp); |
// Load context from the function. |