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

Unified Diff: src/builtins/builtins.h

Issue 2775203002: [builtins] Implement %TypedArray%.prototype.{some,every} in the CSA (Closed)
Patch Set: small improvements 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 31ae3e2bc4bcf00c41db7434c661e01b4cefe6e0..6031446f5c4e7a1056237e1c91567754a5ddfe70 100644
--- a/src/builtins/builtins.h
+++ b/src/builtins/builtins.h
@@ -911,6 +911,10 @@ class Isolate;
CPP(TypedArrayPrototypeIndexOf) \
/* ES6 #sec-%typedarray%.prototype.indexof */ \
CPP(TypedArrayPrototypeLastIndexOf) \
+ /* 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