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

Unified Diff: src/builtins.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/builtins.h ('k') | src/code-factory.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/builtins.cc
diff --git a/src/builtins.cc b/src/builtins.cc
index f906b50aa8b037b9ec6215487fbc290938417209..c3e8650ebdd73a751a7f8a8b18097497ae8f3c04 100644
--- a/src/builtins.cc
+++ b/src/builtins.cc
@@ -4111,6 +4111,18 @@ Handle<Code> Builtins::InterpreterPushArgsAndCall(TailCallMode tail_call_mode) {
return Handle<Code>::null();
}
+Handle<Code> Builtins::InterpreterPushArgsAndCallIC(
+ TailCallMode tail_call_mode) {
+ switch (tail_call_mode) {
+ case TailCallMode::kDisallow:
+ return InterpreterPushArgsAndCallIC();
+ case TailCallMode::kAllow:
+ return InterpreterPushArgsAndTailCallIC();
+ }
+ UNREACHABLE();
+ return Handle<Code>::null();
+}
+
namespace {
class RelocatableArguments
« no previous file with comments | « src/builtins.h ('k') | src/code-factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698