Index: src/ia32/builtins-ia32.cc |
diff --git a/src/ia32/builtins-ia32.cc b/src/ia32/builtins-ia32.cc |
index 96b2787d9362265579083bc135b3fdf63f0ed30c..cf507c435c3717dae4c279b9571be17cbe5e3f40 100644 |
--- a/src/ia32/builtins-ia32.cc |
+++ b/src/ia32/builtins-ia32.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 ------------- |
// -- eax : number of arguments excluding receiver |
// -- edi : target |
@@ -46,7 +47,8 @@ void Builtins::Generate_Adaptor(MacroAssembler* masm, CFunctionId id) { |
// including the receiver and the extra arguments. |
__ add(eax, Immediate(num_extra_args + 1)); |
- __ JumpToExternalReference(ExternalReference(id, masm->isolate())); |
+ __ JumpToExternalReference(ExternalReference(id, masm->isolate()), |
+ exit_frame_type == BUILTIN_EXIT); |
} |
static void GenerateTailCallToReturnedCode(MacroAssembler* masm, |