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

Unified Diff: src/bootstrapper.cc

Issue 2796343002: [builtins] Implement %TypedArray%.prototype.{reduce,reduceRight} in the CSA (Closed)
Patch Set: 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') | src/builtins/builtins-array-gen.cc » ('J')
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 eb06ff17a3e38b139019522152360d478422e55d..0d4ed08f977db75548e87ac10f490425bbb59948 100644
--- a/src/bootstrapper.cc
+++ b/src/bootstrapper.cc
@@ -3879,6 +3879,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') | src/builtins/builtins-array-gen.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698