Index: src/compiler/raw-machine-assembler.cc |
diff --git a/src/compiler/raw-machine-assembler.cc b/src/compiler/raw-machine-assembler.cc |
index 2ce9ef20ccdc3122c9319c28d58f6390fad6fa17..8013f422f6b9ba42bd825b068367f3bc96730e44 100644 |
--- a/src/compiler/raw-machine-assembler.cc |
+++ b/src/compiler/raw-machine-assembler.cc |
@@ -232,6 +232,17 @@ Node* RawMachineAssembler::CallCFunction8( |
} |
+Node* RawMachineAssembler::TailCallInterpreterDispatch( |
+ const CallDescriptor* call_descriptor, Node* target, Node* arg1, Node* arg2, |
+ Node* arg3, Node* arg4, Node* arg5) { |
+ Node* tail_call = |
+ graph()->NewNode(common()->TailCall(call_descriptor), target, arg1, arg2, |
+ arg3, arg4, arg5, graph()->start(), graph()->start()); |
+ schedule()->AddTailCall(CurrentBlock(), tail_call); |
+ return tail_call; |
+} |
+ |
+ |
void RawMachineAssembler::Bind(Label* label) { |
DCHECK(current_block_ == nullptr); |
DCHECK(!label->bound_); |