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

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

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
« src/builtins/builtins-array-gen.cc ('K') | « 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 78de114d714bff447dda7b85594d1c8c9313b085..837e5960e5d47081c3df588f0c3fefd1b5bea0b9 100644
--- a/src/builtins/builtins-definitions.h
+++ b/src/builtins/builtins-definitions.h
@@ -896,6 +896,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) \
« src/builtins/builtins-array-gen.cc ('K') | « src/builtins/builtins-array-gen.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698