| Index: src/x64/debug-x64.cc
|
| diff --git a/src/x64/debug-x64.cc b/src/x64/debug-x64.cc
|
| index 5ddf69a414e410d79951c353b0a32589b18fe861..4be215dd17158754e7b3b8563a380387c7485dc8 100644
|
| --- a/src/x64/debug-x64.cc
|
| +++ b/src/x64/debug-x64.cc
|
| @@ -164,7 +164,7 @@ static void Generate_DebugBreakCallHelper(MacroAssembler* masm,
|
| // If this call did not replace a call but patched other code then there will
|
| // be an unwanted return address left on the stack. Here we get rid of that.
|
| if (convert_call_to_jmp) {
|
| - __ addq(rsp, Immediate(kPointerSize));
|
| + __ addq(rsp, Immediate(kPCOnStackSize));
|
| }
|
|
|
| // Now that the break point has been handled, resume normal execution by
|
|
|