Index: src/s390/builtins-s390.cc |
diff --git a/src/s390/builtins-s390.cc b/src/s390/builtins-s390.cc |
index 1f19f3a954f74a0fe66d2b04fd7961d8d2511533..cb5005d0b64a8a1d37752c880eae9938b87e2f46 100644 |
--- a/src/s390/builtins-s390.cc |
+++ b/src/s390/builtins-s390.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 ------------- |
// -- r2 : number of arguments excluding receiver |
// -- r3 : target |
@@ -40,7 +41,8 @@ void Builtins::Generate_Adaptor(MacroAssembler* masm, CFunctionId id) { |
// including the receiver and the extra arguments. |
__ AddP(r2, r2, Operand(num_extra_args + 1)); |
- __ JumpToExternalReference(ExternalReference(id, masm->isolate())); |
+ __ JumpToExternalReference(ExternalReference(id, masm->isolate()), |
+ exit_frame_type == BUILTIN_EXIT); |
} |
// Load the built-in InternalArray function from the current context. |