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

Unified Diff: src/code-factory.cc

Issue 1609893003: [es6] Tail calls support. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Rebasing Created 4 years, 11 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/code-factory.h ('k') | src/code-stubs.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/code-factory.cc
diff --git a/src/code-factory.cc b/src/code-factory.cc
index afc5ccacc33cc8f837d081c2145470467fa8b6c0..56b8aa6e45c218c5867fa44fc3e935add127b097 100644
--- a/src/code-factory.cc
+++ b/src/code-factory.cc
@@ -59,18 +59,20 @@ Callable CodeFactory::KeyedLoadICInOptimizedCode(
// static
Callable CodeFactory::CallIC(Isolate* isolate, int argc,
- ConvertReceiverMode mode) {
- return Callable(CallIC::initialize_stub(isolate, argc, mode),
+ ConvertReceiverMode mode,
+ TailCallMode tail_call_mode) {
+ return Callable(CallIC::initialize_stub(isolate, argc, mode, tail_call_mode),
CallFunctionWithFeedbackDescriptor(isolate));
}
// static
Callable CodeFactory::CallICInOptimizedCode(Isolate* isolate, int argc,
- ConvertReceiverMode mode) {
- return Callable(
- CallIC::initialize_stub_in_optimized_code(isolate, argc, mode),
- CallFunctionWithFeedbackAndVectorDescriptor(isolate));
+ ConvertReceiverMode mode,
+ TailCallMode tail_call_mode) {
+ return Callable(CallIC::initialize_stub_in_optimized_code(isolate, argc, mode,
+ tail_call_mode),
+ CallFunctionWithFeedbackAndVectorDescriptor(isolate));
}
« no previous file with comments | « src/code-factory.h ('k') | src/code-stubs.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698