Index: src/x64/debug-x64.cc |
diff --git a/src/x64/debug-x64.cc b/src/x64/debug-x64.cc |
index d4126d9758f513b7010bd85bd7e274b1d453530c..dcf2341533d437a30d18dd33de5605992c89ac06 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(kPCOnStackSize)); |
+ __ addp(rsp, Immediate(kPCOnStackSize)); |
} |
// Now that the break point has been handled, resume normal execution by |