Index: src/x64/code-stubs-x64.cc |
diff --git a/src/x64/code-stubs-x64.cc b/src/x64/code-stubs-x64.cc |
index 773c37a391e66ec00c3577b2e3520ad1c2fdf981..b38715a0d8dbbbc6f69ac3b037f557937f068ead 100644 |
--- a/src/x64/code-stubs-x64.cc |
+++ b/src/x64/code-stubs-x64.cc |
@@ -1575,14 +1575,11 @@ |
(result_size() <= kMaxRegisterResultSize ? 0 : result_size()); |
if (argv_in_register()) { |
DCHECK(!save_doubles()); |
- DCHECK(!is_builtin_exit()); |
__ EnterApiExitFrame(arg_stack_space); |
// Move argc into r14 (argv is already in r15). |
__ movp(r14, rax); |
} else { |
- __ EnterExitFrame( |
- arg_stack_space, save_doubles(), |
- is_builtin_exit() ? StackFrame::BUILTIN_EXIT : StackFrame::EXIT); |
+ __ EnterExitFrame(arg_stack_space, save_doubles()); |
} |
// rbx: pointer to builtin function (C callee-saved). |