Index: src/x64/debug-x64.cc |
diff --git a/src/x64/debug-x64.cc b/src/x64/debug-x64.cc |
index dcf2341533d437a30d18dd33de5605992c89ac06..36d5df678e86007d3ed9629b726eead256ed91a1 100644 |
--- a/src/x64/debug-x64.cc |
+++ b/src/x64/debug-x64.cc |
@@ -156,7 +156,7 @@ static void Generate_DebugBreakCallHelper(MacroAssembler* masm, |
// Read current padding counter and skip corresponding number of words. |
__ Pop(kScratchRegister); |
__ SmiToInteger32(kScratchRegister, kScratchRegister); |
- __ lea(rsp, Operand(rsp, kScratchRegister, times_pointer_size, 0)); |
+ __ leap(rsp, Operand(rsp, kScratchRegister, times_pointer_size, 0)); |
// Get rid of the internal frame. |
} |
@@ -327,7 +327,7 @@ void Debug::GenerateFrameDropperLiveEdit(MacroAssembler* masm) { |
__ movp(Operand(rax, 0), Immediate(0)); |
// We do not know our frame height, but set rsp based on rbp. |
- __ lea(rsp, Operand(rbp, -1 * kPointerSize)); |
+ __ leap(rsp, Operand(rbp, -1 * kPointerSize)); |
__ Pop(rdi); // Function. |
__ popq(rbp); |
@@ -338,7 +338,7 @@ void Debug::GenerateFrameDropperLiveEdit(MacroAssembler* masm) { |
// Get function code. |
__ movp(rdx, FieldOperand(rdi, JSFunction::kSharedFunctionInfoOffset)); |
__ movp(rdx, FieldOperand(rdx, SharedFunctionInfo::kCodeOffset)); |
- __ lea(rdx, FieldOperand(rdx, Code::kHeaderSize)); |
+ __ leap(rdx, FieldOperand(rdx, Code::kHeaderSize)); |
// Re-run JSFunction, rdi is function, rsi is context. |
__ jmp(rdx); |