Index: src/x64/builtins-x64.cc |
diff --git a/src/x64/builtins-x64.cc b/src/x64/builtins-x64.cc |
index 2d4421d7e12d811ab0730a6be325ffc671282bb8..6bd02ac3b09ee35f8a00f8888301ca37edb804c8 100644 |
--- a/src/x64/builtins-x64.cc |
+++ b/src/x64/builtins-x64.cc |
@@ -527,8 +527,6 @@ void Builtins::Generate_JSConstructStubForDerived(MacroAssembler* masm) { |
__ decp(rcx); |
__ j(greater_equal, &loop); |
- __ incp(rax); // Pushed new.target. |
- |
// Handle step in. |
Label skip_step_in; |
ExternalReference debug_step_in_fp = |
@@ -553,8 +551,8 @@ void Builtins::Generate_JSConstructStubForDerived(MacroAssembler* masm) { |
// Restore context from the frame. |
__ movp(rsi, Operand(rbp, StandardFrameConstants::kContextOffset)); |
- __ movp(rbx, Operand(rsp, 0)); // Get arguments count. |
- } // Leave construct frame. |
+ __ movp(rbx, Operand(rsp, kPointerSize)); // Get arguments count. |
+ } // Leave construct frame. |
// Remove caller arguments from the stack and return. |
__ PopReturnAddressTo(rcx); |