Index: src/compiler/code-assembler.cc |
diff --git a/src/compiler/code-assembler.cc b/src/compiler/code-assembler.cc |
index 81b4c9d1ffee2e33c1f321d0d594c3d8d612270e..ff7ef31f4a3bbb858d90fedc4e7fc90bc5bb5922 100644 |
--- a/src/compiler/code-assembler.cc |
+++ b/src/compiler/code-assembler.cc |
@@ -465,6 +465,14 @@ Node* CodeAssembler::CallStub(Callable const& callable, Node* context, |
result_size); |
} |
+Node* CodeAssembler::CallStub(Callable const& callable, Node* context, |
+ Node* arg1, Node* arg2, Node* arg3, Node* arg4, |
+ size_t result_size) { |
+ Node* target = HeapConstant(callable.code()); |
+ return CallStub(callable.descriptor(), target, context, arg1, arg2, arg3, |
+ arg4, result_size); |
+} |
+ |
Node* CodeAssembler::CallStubN(Callable const& callable, Node** args, |
size_t result_size) { |
Node* target = HeapConstant(callable.code()); |