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

Side by Side Diff: src/builtins/builtins-definitions.h

Issue 2775203002: [builtins] Implement %TypedArray%.prototype.{some,every} in the CSA (Closed)
Patch Set: addressed comments 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 unified diff | Download patch
« no previous file with comments | « src/builtins/builtins-array-gen.cc ('k') | src/code-stub-assembler.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2017 the V8 project authors. All rights reserved. 1 // Copyright 2017 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef V8_BUILTINS_BUILTINS_DEFINITIONS_H_ 5 #ifndef V8_BUILTINS_BUILTINS_DEFINITIONS_H_
6 #define V8_BUILTINS_BUILTINS_DEFINITIONS_H_ 6 #define V8_BUILTINS_BUILTINS_DEFINITIONS_H_
7 7
8 namespace v8 { 8 namespace v8 {
9 namespace internal { 9 namespace internal {
10 10
(...skipping 871 matching lines...) Expand 10 before | Expand all | Expand 10 after
882 /* ES6 #sec-%typedarray%.prototype.fill */ \ 882 /* ES6 #sec-%typedarray%.prototype.fill */ \
883 CPP(TypedArrayPrototypeFill) \ 883 CPP(TypedArrayPrototypeFill) \
884 /* ES7 #sec-%typedarray%.prototype.includes */ \ 884 /* ES7 #sec-%typedarray%.prototype.includes */ \
885 CPP(TypedArrayPrototypeIncludes) \ 885 CPP(TypedArrayPrototypeIncludes) \
886 /* ES6 #sec-%typedarray%.prototype.indexof */ \ 886 /* ES6 #sec-%typedarray%.prototype.indexof */ \
887 CPP(TypedArrayPrototypeIndexOf) \ 887 CPP(TypedArrayPrototypeIndexOf) \
888 /* ES6 #sec-%typedarray%.prototype.lastindexof */ \ 888 /* ES6 #sec-%typedarray%.prototype.lastindexof */ \
889 CPP(TypedArrayPrototypeLastIndexOf) \ 889 CPP(TypedArrayPrototypeLastIndexOf) \
890 /* ES6 #sec-%typedarray%.prototype.reverse */ \ 890 /* ES6 #sec-%typedarray%.prototype.reverse */ \
891 CPP(TypedArrayPrototypeReverse) \ 891 CPP(TypedArrayPrototypeReverse) \
892 /* ES6 %TypedArray%.prototype.every */ \
893 TFJ(TypedArrayPrototypeEvery, 2, kCallbackFn, kThisArg) \
894 /* ES6 %TypedArray%.prototype.some */ \
895 TFJ(TypedArrayPrototypeSome, 2, kCallbackFn, kThisArg) \
892 \ 896 \
893 /* Wasm */ \ 897 /* Wasm */ \
894 ASM(WasmCompileLazy) \ 898 ASM(WasmCompileLazy) \
895 TFS(WasmStackGuard, WasmRuntimeCall, 1) \ 899 TFS(WasmStackGuard, WasmRuntimeCall, 1) \
896 TFS(ThrowWasmTrapUnreachable, WasmRuntimeCall, 1) \ 900 TFS(ThrowWasmTrapUnreachable, WasmRuntimeCall, 1) \
897 TFS(ThrowWasmTrapMemOutOfBounds, WasmRuntimeCall, 1) \ 901 TFS(ThrowWasmTrapMemOutOfBounds, WasmRuntimeCall, 1) \
898 TFS(ThrowWasmTrapDivByZero, WasmRuntimeCall, 1) \ 902 TFS(ThrowWasmTrapDivByZero, WasmRuntimeCall, 1) \
899 TFS(ThrowWasmTrapDivUnrepresentable, WasmRuntimeCall, 1) \ 903 TFS(ThrowWasmTrapDivUnrepresentable, WasmRuntimeCall, 1) \
900 TFS(ThrowWasmTrapRemByZero, WasmRuntimeCall, 1) \ 904 TFS(ThrowWasmTrapRemByZero, WasmRuntimeCall, 1) \
901 TFS(ThrowWasmTrapFloatUnrepresentable, WasmRuntimeCall, 1) \ 905 TFS(ThrowWasmTrapFloatUnrepresentable, WasmRuntimeCall, 1) \
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
992 #define BUILTIN_LIST_DBG(V) \ 996 #define BUILTIN_LIST_DBG(V) \
993 BUILTIN_LIST(IGNORE_BUILTIN, IGNORE_BUILTIN, IGNORE_BUILTIN, IGNORE_BUILTIN, \ 997 BUILTIN_LIST(IGNORE_BUILTIN, IGNORE_BUILTIN, IGNORE_BUILTIN, IGNORE_BUILTIN, \
994 IGNORE_BUILTIN, IGNORE_BUILTIN, V) 998 IGNORE_BUILTIN, IGNORE_BUILTIN, V)
995 999
996 #define BUILTINS_WITH_UNTAGGED_PARAMS(V) V(WasmCompileLazy) 1000 #define BUILTINS_WITH_UNTAGGED_PARAMS(V) V(WasmCompileLazy)
997 1001
998 } // namespace internal 1002 } // namespace internal
999 } // namespace v8 1003 } // namespace v8
1000 1004
1001 #endif // V8_BUILTINS_BUILTINS_DEFINITIONS_H_ 1005 #endif // V8_BUILTINS_BUILTINS_DEFINITIONS_H_
OLDNEW
« no previous file with comments | « src/builtins/builtins-array-gen.cc ('k') | src/code-stub-assembler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698