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

Unified Diff: src/code-factory.cc

Issue 2776433003: [builtins] Implement Array.prototype.reduceRight in the CSA (Closed)
Patch Set: Add back accidental removals 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
« no previous file with comments | « src/code-factory.h ('k') | src/code-stub-assembler.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 a69d441427a8cb5cbeb215bb1a73655c0918c838..f5818b278284105ebac0760131af10ef6e5f4ecf 100644
--- a/src/code-factory.cc
+++ b/src/code-factory.cc
@@ -544,6 +544,12 @@ Callable CodeFactory::ArrayReduceLoopContinuation(Isolate* isolate) {
}
// static
+Callable CodeFactory::ArrayReduceRightLoopContinuation(Isolate* isolate) {
+ return Callable(isolate->builtins()->ArrayReduceRightLoopContinuation(),
+ IteratingArrayBuiltinLoopContinuationDescriptor(isolate));
+}
+
+// static
Callable CodeFactory::FunctionPrototypeBind(Isolate* isolate) {
return Callable(isolate->builtins()->FunctionPrototypeBind(),
BuiltinDescriptor(isolate));
« no previous file with comments | « src/code-factory.h ('k') | src/code-stub-assembler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698