Index: src/x64/macro-assembler-x64.h |
diff --git a/src/x64/macro-assembler-x64.h b/src/x64/macro-assembler-x64.h |
index 887f4314f7bbb94b8f8b82ba5dab5f199caa7c56..d4aa9e3b1710d4fff65b72e6fcae0477436eab3c 100644 |
--- a/src/x64/macro-assembler-x64.h |
+++ b/src/x64/macro-assembler-x64.h |
@@ -339,7 +339,8 @@ class MacroAssembler: public Assembler { |
// |
// Allocates arg_stack_space * kPointerSize memory (not GCed) on the stack |
// accessible via StackSpaceOperand. |
- void EnterExitFrame(int arg_stack_space = 0, bool save_doubles = false); |
+ void EnterExitFrame(int arg_stack_space = 0, bool save_doubles = false, |
+ StackFrame::Type frame_type = StackFrame::EXIT); |
// Enter specific kind of exit frame. Allocates arg_stack_space * kPointerSize |
// memory (not GCed) on the stack accessible via StackSpaceOperand. |
@@ -1468,7 +1469,8 @@ class MacroAssembler: public Assembler { |
void TailCallRuntime(Runtime::FunctionId fid); |
// Jump to a runtime routines |
- void JumpToExternalReference(const ExternalReference& ext); |
+ void JumpToExternalReference(const ExternalReference& ext, |
+ bool builtin_exit_frame = false); |
// Before calling a C-function from generated code, align arguments on stack. |
// After aligning the frame, arguments must be stored in rsp[0], rsp[8], |
@@ -1633,7 +1635,7 @@ class MacroAssembler: public Assembler { |
Label::Distance near_jump, |
const CallWrapper& call_wrapper); |
- void EnterExitFramePrologue(bool save_rax); |
+ void EnterExitFramePrologue(bool save_rax, StackFrame::Type frame_type); |
// Allocates arg_stack_space * kPointerSize memory (not GCed) on the stack |
// accessible via StackSpaceOperand. |