Index: src/mips64/builtins-mips64.cc |
diff --git a/src/mips64/builtins-mips64.cc b/src/mips64/builtins-mips64.cc |
index 025093eda51fc84b045e3c52c581b50ffe0204f4..9f58745a4bee4d6f2f986f5dbea82bb615ccdef5 100644 |
--- a/src/mips64/builtins-mips64.cc |
+++ b/src/mips64/builtins-mips64.cc |
@@ -16,7 +16,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 ------------- |
// -- a0 : number of arguments excluding receiver |
// -- a1 : target |
@@ -42,7 +43,8 @@ void Builtins::Generate_Adaptor(MacroAssembler* masm, CFunctionId id) { |
// including the receiver and the extra arguments. |
__ Daddu(a0, a0, num_extra_args + 1); |
- __ JumpToExternalReference(ExternalReference(id, masm->isolate())); |
+ __ JumpToExternalReference(ExternalReference(id, masm->isolate()), PROTECT, |
+ exit_frame_type == BUILTIN_EXIT); |
} |