Index: src/interpreter/interpreter-assembler.cc |
diff --git a/src/interpreter/interpreter-assembler.cc b/src/interpreter/interpreter-assembler.cc |
index 7cc678885261fcf4742bd92bde9e70062b7cee39..57343ec5b72861669e02fb55363437dfa386ba4a 100644 |
--- a/src/interpreter/interpreter-assembler.cc |
+++ b/src/interpreter/interpreter-assembler.cc |
@@ -345,6 +345,19 @@ Node* InterpreterAssembler::CallJS(Node* function, Node* context, |
first_arg, function); |
} |
+Node* InterpreterAssembler::CallJSWithFeedback(Node* function, Node* context, |
+ Node* first_arg, Node* arg_count, |
+ Node* slot_id, |
+ Node* type_feedback_vector, |
+ TailCallMode tail_call_mode) { |
+ Callable callable = |
+ CodeFactory::InterpreterPushArgsAndCallIC(isolate(), tail_call_mode); |
+ Node* code_target = HeapConstant(callable.code()); |
+ |
+ return CallStub(callable.descriptor(), code_target, context, arg_count, |
+ first_arg, function, slot_id, type_feedback_vector); |
+} |
+ |
Node* InterpreterAssembler::CallConstruct(Node* constructor, Node* context, |
Node* new_target, Node* first_arg, |
Node* arg_count) { |