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

Unified Diff: src/builtins/builtins-definitions.h

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 | « src/builtins/builtins-array-gen.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/builtins/builtins-definitions.h
diff --git a/src/builtins/builtins-definitions.h b/src/builtins/builtins-definitions.h
index 06a720aa3713aa16c76b471992fc8dc1c99b6d28..ae0f52342c75977324da3ada349288e9c4633eec 100644
--- a/src/builtins/builtins-definitions.h
+++ b/src/builtins/builtins-definitions.h
@@ -901,6 +901,10 @@ namespace internal {
TFJ(TypedArrayPrototypeEvery, 2, kCallbackFn, kThisArg) \
/* ES6 %TypedArray%.prototype.some */ \
TFJ(TypedArrayPrototypeSome, 2, kCallbackFn, kThisArg) \
+ /* ES6 %TypedArray%.prototype.reduce */ \
+ TFJ(TypedArrayPrototypeReduce, 2, kCallbackFn, kInitialValue) \
+ /* ES6 %TypedArray%.prototype.reduceRight */ \
+ TFJ(TypedArrayPrototypeReduceRight, 2, kCallbackFn, kInitialValue) \
\
/* Wasm */ \
ASM(WasmCompileLazy) \
« no previous file with comments | « src/builtins/builtins-array-gen.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698