Index: src/x64/builtins-x64.cc |
diff --git a/src/x64/builtins-x64.cc b/src/x64/builtins-x64.cc |
index ba7647bf307bd9cdebe8b3d27d3069d74fb50aa1..d90ff34f6d0b0deadafcdf9c23d457bf90d38905 100644 |
--- a/src/x64/builtins-x64.cc |
+++ b/src/x64/builtins-x64.cc |
@@ -648,11 +648,7 @@ static void GenerateMakeCodeYoungAgainCommon(MacroAssembler* masm) { |
// the stub returns. |
__ subq(Operand(rsp, 0), Immediate(5)); |
__ Pushad(); |
-#ifdef _WIN64 |
- __ movq(rcx, Operand(rsp, kNumSafepointRegisters * kPointerSize)); |
-#else |
- __ movq(rdi, Operand(rsp, kNumSafepointRegisters * kPointerSize)); |
-#endif |
+ __ movq(arg_reg_1, Operand(rsp, kNumSafepointRegisters * kPointerSize)); |
{ // NOLINT |
FrameScope scope(masm, StackFrame::MANUAL); |
__ PrepareCallCFunction(1); |