Index: src/x64/code-stubs-x64.cc |
diff --git a/src/x64/code-stubs-x64.cc b/src/x64/code-stubs-x64.cc |
index f5ab572dea36370373fe82be085d206a1e4642ef..0942b2fb3c1a85af5c9581a35c5936629eb9dd50 100644 |
--- a/src/x64/code-stubs-x64.cc |
+++ b/src/x64/code-stubs-x64.cc |
@@ -2268,9 +2268,6 @@ |
// rbp: frame pointer of calling JS frame (restored after C call) |
// rsp: stack pointer (restored after C call) |
// rsi: current context (restored) |
- // |
- // If argv_in_register(): |
- // r15: pointer to the first argument |
ProfileEntryHookStub::MaybeCallEntryHook(masm); |
@@ -2280,14 +2277,7 @@ |
#else // _WIN64 |
int arg_stack_space = 0; |
#endif // _WIN64 |
- if (argv_in_register()) { |
- DCHECK(!save_doubles()); |
- __ EnterApiExitFrame(arg_stack_space); |
- // Move argc into r14 (argv is already in r15). |
- __ movp(r14, rax); |
- } else { |
- __ EnterExitFrame(arg_stack_space, save_doubles()); |
- } |
+ __ EnterExitFrame(arg_stack_space, save_doubles()); |
// rbx: pointer to builtin function (C callee-saved). |
// rbp: frame pointer of exit frame (restored after C call). |