Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(470)

Unified Diff: src/interpreter/interpreter-assembler.cc

Issue 1688283003: [Interpreter] Implements calls through CallICStub in the interpreter. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: removes an unused label declaration. Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/interpreter/interpreter-assembler.h ('k') | src/mips/builtins-mips.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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) {
« no previous file with comments | « src/interpreter/interpreter-assembler.h ('k') | src/mips/builtins-mips.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698