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

Unified Diff: src/code-factory.cc

Issue 2680153005: [builtins] Array.prototype.filter implemented as a TurboFan code stub. (Closed)
Patch Set: Code comments. Created 3 years, 9 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 fded585a4513e77af7400094add256cede96e098..87caa5f151203bf71c8286cff4e4418faa0c4753 100644
--- a/src/code-factory.cc
+++ b/src/code-factory.cc
@@ -489,6 +489,12 @@ Callable CodeFactory::ArrayPush(Isolate* isolate) {
}
// static
+Callable CodeFactory::ArrayFilterLoopContinuation(Isolate* isolate) {
+ return Callable(isolate->builtins()->ArrayFilterLoopContinuation(),
+ IteratingArrayBuiltinLoopContinuationDescriptor(isolate));
+}
+
+// static
Callable CodeFactory::ArrayForEachLoopContinuation(Isolate* isolate) {
return Callable(isolate->builtins()->ArrayForEachLoopContinuation(),
IteratingArrayBuiltinLoopContinuationDescriptor(isolate));
« no previous file with comments | « src/code-factory.h ('k') | src/code-stub-assembler.h » ('j') | test/js-perf-test/JSTests.json » ('J')

Powered by Google App Engine
This is Rietveld 408576698