Index: src/builtins/builtins-interpreter.cc |
diff --git a/src/builtins/builtins-interpreter.cc b/src/builtins/builtins-interpreter.cc |
index 22843ac89e50e74a8bbd28a0a4228200a5ba7250..3cfa57bcbe62d3beed4d4cdbc54c490a3383f461 100644 |
--- a/src/builtins/builtins-interpreter.cc |
+++ b/src/builtins/builtins-interpreter.cc |
@@ -4,8 +4,6 @@ |
#include "src/builtins/builtins-utils.h" |
#include "src/builtins/builtins.h" |
-#include "src/globals.h" |
-#include "src/handles-inl.h" |
#include "src/objects-inl.h" |
namespace v8 { |
@@ -34,6 +32,34 @@ Handle<Code> Builtins::InterpreterPushArgsAndCall( |
return Handle<Code>::null(); |
} |
+void Builtins::Generate_InterpreterPushArgsAndCall(MacroAssembler* masm) { |
+ return Generate_InterpreterPushArgsAndCallImpl( |
+ masm, TailCallMode::kDisallow, InterpreterPushArgsMode::kOther); |
+} |
+ |
+void Builtins::Generate_InterpreterPushArgsAndCallFunction( |
+ MacroAssembler* masm) { |
+ return Generate_InterpreterPushArgsAndCallImpl( |
+ masm, TailCallMode::kDisallow, InterpreterPushArgsMode::kJSFunction); |
+} |
+ |
+void Builtins::Generate_InterpreterPushArgsAndCallWithFinalSpread( |
+ MacroAssembler* masm) { |
+ return Generate_InterpreterPushArgsAndCallImpl( |
+ masm, TailCallMode::kDisallow, InterpreterPushArgsMode::kWithFinalSpread); |
+} |
+ |
+void Builtins::Generate_InterpreterPushArgsAndTailCall(MacroAssembler* masm) { |
+ return Generate_InterpreterPushArgsAndCallImpl( |
+ masm, TailCallMode::kAllow, InterpreterPushArgsMode::kOther); |
+} |
+ |
+void Builtins::Generate_InterpreterPushArgsAndTailCallFunction( |
+ MacroAssembler* masm) { |
+ return Generate_InterpreterPushArgsAndCallImpl( |
+ masm, TailCallMode::kAllow, InterpreterPushArgsMode::kJSFunction); |
+} |
+ |
Handle<Code> Builtins::InterpreterPushArgsAndConstruct( |
InterpreterPushArgsMode mode) { |
switch (mode) { |
@@ -48,5 +74,22 @@ Handle<Code> Builtins::InterpreterPushArgsAndConstruct( |
return Handle<Code>::null(); |
} |
+void Builtins::Generate_InterpreterPushArgsAndConstruct(MacroAssembler* masm) { |
+ return Generate_InterpreterPushArgsAndConstructImpl( |
+ masm, InterpreterPushArgsMode::kOther); |
+} |
+ |
+void Builtins::Generate_InterpreterPushArgsAndConstructWithFinalSpread( |
+ MacroAssembler* masm) { |
+ return Generate_InterpreterPushArgsAndConstructImpl( |
+ masm, InterpreterPushArgsMode::kWithFinalSpread); |
+} |
+ |
+void Builtins::Generate_InterpreterPushArgsAndConstructFunction( |
+ MacroAssembler* masm) { |
+ return Generate_InterpreterPushArgsAndConstructImpl( |
+ masm, InterpreterPushArgsMode::kJSFunction); |
+} |
+ |
} // namespace internal |
} // namespace v8 |