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

Unified Diff: src/bootstrapper.cc

Issue 2796343002: [builtins] Implement %TypedArray%.prototype.{reduce,reduceRight} in the CSA (Closed)
Patch Set: Rebased. Created 3 years, 8 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 | « no previous file | src/builtins/builtins-array-gen.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/bootstrapper.cc
diff --git a/src/bootstrapper.cc b/src/bootstrapper.cc
index 3a79711406e147b2126aea237538afd9632f5175..6fb70b03686dca4899b8a88d0e86a36cb23f9f3a 100644
--- a/src/bootstrapper.cc
+++ b/src/bootstrapper.cc
@@ -3886,6 +3886,10 @@ void Genesis::InitializeGlobal_experimental_fast_array_builtins() {
Builtins::kTypedArrayPrototypeEvery);
InstallOneBuiltinFunction(typed_array_prototype, "some",
Builtins::kTypedArrayPrototypeSome);
+ InstallOneBuiltinFunction(typed_array_prototype, "reduce",
+ Builtins::kTypedArrayPrototypeReduce);
+ InstallOneBuiltinFunction(typed_array_prototype, "reduceRight",
+ Builtins::kTypedArrayPrototypeReduceRight);
}
}
« no previous file with comments | « no previous file | src/builtins/builtins-array-gen.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698