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

Unified Diff: src/builtins/builtins.h

Issue 2775203002: [builtins] Implement %TypedArray%.prototype.{some,every} in the CSA (Closed)
Patch Set: fix switching backing store bug 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
Index: src/builtins/builtins.h
diff --git a/src/builtins/builtins.h b/src/builtins/builtins.h
index a3d3d746910a05905d2a9f03239f72f12b83e833..f90c9b4495da73ac8c01012cae4e317ccbcb31f2 100644
--- a/src/builtins/builtins.h
+++ b/src/builtins/builtins.h
@@ -897,6 +897,10 @@ class Isolate;
CPP(TypedArrayPrototypeLastIndexOf) \
/* ES6 #sec-%typedarray%.prototype.reverse */ \
CPP(TypedArrayPrototypeReverse) \
+ /* ES6 %TypedArray%.prototype.every */ \
+ TFJ(TypedArrayPrototypeEvery, 2, kCallbackFn, kThisArg) \
+ /* ES6 %TypedArray%.prototype.some */ \
+ TFJ(TypedArrayPrototypeSome, 2, kCallbackFn, kThisArg) \
\
/* Wasm */ \
ASM(WasmCompileLazy) \

Powered by Google App Engine
This is Rietveld 408576698