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

Unified Diff: src/code-factory.cc

Issue 2950773002: [turbofan] Introduce new JSCallWithArrayLike operator. (Closed)
Patch Set: 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
Index: src/code-factory.cc
diff --git a/src/code-factory.cc b/src/code-factory.cc
index feb03700ea8fc22ee98f573cd919c6770a436296..9e840dc82bac009394aeff2ef2d51a9aa7b22b29 100644
--- a/src/code-factory.cc
+++ b/src/code-factory.cc
@@ -292,6 +292,12 @@ Callable CodeFactory::Call(Isolate* isolate, ConvertReceiverMode mode,
CallTrampolineDescriptor(isolate));
}
+// static
+Callable CodeFactory::CallWithArrayLike(Isolate* isolate) {
+ return Callable(isolate->builtins()->CallWithArrayLike(),
+ CallWithArrayLikeDescriptor(isolate));
+}
+
// static
Callable CodeFactory::CallWithSpread(Isolate* isolate) {
return Callable(isolate->builtins()->CallWithSpread(),

Powered by Google App Engine
This is Rietveld 408576698