Index: src/builtins.cc |
diff --git a/src/builtins.cc b/src/builtins.cc |
index ee95243eb86ba556c22dddf722d3454f8f36d336..a4f8e1c6d11240383334ee14e397c2c553dde4e4 100644 |
--- a/src/builtins.cc |
+++ b/src/builtins.cc |
@@ -3989,6 +3989,16 @@ Handle<Code> Builtins::CallBoundFunction(TailCallMode tail_call_mode) { |
return Handle<Code>::null(); |
} |
+Handle<Code> Builtins::InterpreterPushArgsAndCall(TailCallMode tail_call_mode) { |
+ switch (tail_call_mode) { |
+ case TailCallMode::kDisallow: |
+ return InterpreterPushArgsAndCall(); |
+ case TailCallMode::kAllow: |
+ return InterpreterPushArgsAndTailCall(); |
+ } |
+ UNREACHABLE(); |
+ return Handle<Code>::null(); |
+} |
namespace { |