Index: src/arm64/builtins-arm64.cc |
diff --git a/src/arm64/builtins-arm64.cc b/src/arm64/builtins-arm64.cc |
index e16897a2d28f14cf1a07d7b11f1491b103fc60ee..6615eb23b2629eb5f5e127695d246dcacdee0667 100644 |
--- a/src/arm64/builtins-arm64.cc |
+++ b/src/arm64/builtins-arm64.cc |
@@ -32,7 +32,8 @@ static void GenerateLoadInternalArrayFunction(MacroAssembler* masm, |
__ LoadNativeContextSlot(Context::INTERNAL_ARRAY_FUNCTION_INDEX, result); |
} |
-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 ------------- |
// -- x0 : number of arguments excluding receiver |
// -- x1 : target |
@@ -58,7 +59,8 @@ void Builtins::Generate_Adaptor(MacroAssembler* masm, CFunctionId id) { |
// including the receiver and the extra arguments. |
__ Add(x0, x0, num_extra_args + 1); |
- __ JumpToExternalReference(ExternalReference(id, masm->isolate())); |
+ __ JumpToExternalReference(ExternalReference(id, masm->isolate()), |
+ exit_frame_type == BUILTIN_EXIT); |
} |