| Index: src/x64/builtins-x64.cc
|
| diff --git a/src/x64/builtins-x64.cc b/src/x64/builtins-x64.cc
|
| index fb43324d58a0d8fca734d4f1e383b9518a7a15d2..13f8fb10a15f76b555913e6200bac60c3c4f34b9 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,
|
| + bool builtin_exit_frame) {
|
| // ----------- 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()),
|
| + builtin_exit_frame);
|
| }
|
|
|
|
|
|
|