Index: src/compiler/code-assembler.cc |
diff --git a/src/compiler/code-assembler.cc b/src/compiler/code-assembler.cc |
index 62763962f1f58c42932b9fc474810643fd032795..0a81481d4225bc1c1a18829744586323af2208c5 100644 |
--- a/src/compiler/code-assembler.cc |
+++ b/src/compiler/code-assembler.cc |
@@ -653,6 +653,14 @@ Node* CodeAssembler::TailCallStub(Callable const& callable, Node* context, |
result_size); |
} |
+Node* CodeAssembler::TailCallStub(Callable const& callable, Node* context, |
+ Node* arg1, Node* arg2, Node* arg3, |
+ Node* arg4, size_t result_size) { |
+ Node* target = HeapConstant(callable.code()); |
+ return TailCallStub(callable.descriptor(), target, context, arg1, arg2, arg3, |
+ arg4, result_size); |
+} |
+ |
Node* CodeAssembler::TailCallStub(const CallInterfaceDescriptor& descriptor, |
Node* target, Node* context, Node* arg1, |
size_t result_size) { |