Index: src/x64/builtins-x64.cc |
diff --git a/src/x64/builtins-x64.cc b/src/x64/builtins-x64.cc |
index fb43324d58a0d8fca734d4f1e383b9518a7a15d2..45dea848b50a2bc6d0db6db8c1901da6739ece34 100644 |
--- a/src/x64/builtins-x64.cc |
+++ b/src/x64/builtins-x64.cc |
@@ -15,7 +15,8 @@ namespace internal { |
#define __ ACCESS_MASM(masm) |
-void Builtins::Generate_Adaptor(MacroAssembler* masm, CFunctionId id) { |
+void Builtins::Generate_Adaptor(MacroAssembler* masm, CFunctionId id, |
+ ExitFrameType exit_frame_type) { |
// ----------- S t a t e ------------- |
// -- rax : number of arguments excluding receiver |
// -- rdi : target |
@@ -46,7 +47,8 @@ void Builtins::Generate_Adaptor(MacroAssembler* masm, CFunctionId id) { |
// including the receiver and the extra arguments. |
__ addp(rax, Immediate(num_extra_args + 1)); |
- __ JumpToExternalReference(ExternalReference(id, masm->isolate())); |
+ __ JumpToExternalReference(ExternalReference(id, masm->isolate()), |
+ exit_frame_type == BUILTIN_EXIT); |
} |