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

Unified Diff: src/code-factory.cc

Issue 2950773002: [turbofan] Introduce new JSCallWithArrayLike operator. (Closed)
Patch Set: REBASE Created 3 years, 6 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/compiler/js-call-reducer.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 0de05ae25c32876872ae4638275990f9c707b6e9..a12763213a7f6743d0523a5917a0e17fb6bfdbb2 100644
--- a/src/code-factory.cc
+++ b/src/code-factory.cc
@@ -287,6 +287,12 @@ Callable CodeFactory::Call(Isolate* isolate, ConvertReceiverMode mode,
}
// static
+Callable CodeFactory::CallWithArrayLike(Isolate* isolate) {
+ return Callable(isolate->builtins()->CallWithArrayLike(),
+ CallWithArrayLikeDescriptor(isolate));
+}
+
+// static
Callable CodeFactory::CallWithSpread(Isolate* isolate) {
return Callable(isolate->builtins()->CallWithSpread(),
CallWithSpreadDescriptor(isolate));
« no previous file with comments | « src/code-factory.h ('k') | src/compiler/js-call-reducer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698