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

Side by Side 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 unified diff | Download patch
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 878 matching lines...) Expand 10 before | Expand all | Expand 10 after
889 /* ES6 #sec-%typedarray%.prototype.lastindexof */ \ 889 /* ES6 #sec-%typedarray%.prototype.lastindexof */ \
890 CPP(TypedArrayPrototypeLastIndexOf) \ 890 CPP(TypedArrayPrototypeLastIndexOf) \
891 /* ES6 #sec-%typedarray%.prototype.reverse */ \ 891 /* ES6 #sec-%typedarray%.prototype.reverse */ \
892 CPP(TypedArrayPrototypeReverse) \ 892 CPP(TypedArrayPrototypeReverse) \
893 /* ES6 #sec-%typedarray%.prototype.slice */ \ 893 /* ES6 #sec-%typedarray%.prototype.slice */ \
894 CPP(TypedArrayPrototypeSlice) \ 894 CPP(TypedArrayPrototypeSlice) \
895 /* ES6 %TypedArray%.prototype.every */ \ 895 /* ES6 %TypedArray%.prototype.every */ \
896 TFJ(TypedArrayPrototypeEvery, 2, kCallbackFn, kThisArg) \ 896 TFJ(TypedArrayPrototypeEvery, 2, kCallbackFn, kThisArg) \
897 /* ES6 %TypedArray%.prototype.some */ \ 897 /* ES6 %TypedArray%.prototype.some */ \
898 TFJ(TypedArrayPrototypeSome, 2, kCallbackFn, kThisArg) \ 898 TFJ(TypedArrayPrototypeSome, 2, kCallbackFn, kThisArg) \
899 /* ES6 %TypedArray%.prototype.reduce */ \
900 TFJ(TypedArrayPrototypeReduce, 2, kCallbackFn, kInitialValue) \
901 /* ES6 %TypedArray%.prototype.reduceRight */ \
902 TFJ(TypedArrayPrototypeReduceRight, 2, kCallbackFn, kInitialValue) \
899 \ 903 \
900 /* Wasm */ \ 904 /* Wasm */ \
901 ASM(WasmCompileLazy) \ 905 ASM(WasmCompileLazy) \
902 TFS(WasmStackGuard, WasmRuntimeCall, 1) \ 906 TFS(WasmStackGuard, WasmRuntimeCall, 1) \
903 TFS(ThrowWasmTrapUnreachable, WasmRuntimeCall, 1) \ 907 TFS(ThrowWasmTrapUnreachable, WasmRuntimeCall, 1) \
904 TFS(ThrowWasmTrapMemOutOfBounds, WasmRuntimeCall, 1) \ 908 TFS(ThrowWasmTrapMemOutOfBounds, WasmRuntimeCall, 1) \
905 TFS(ThrowWasmTrapDivByZero, WasmRuntimeCall, 1) \ 909 TFS(ThrowWasmTrapDivByZero, WasmRuntimeCall, 1) \
906 TFS(ThrowWasmTrapDivUnrepresentable, WasmRuntimeCall, 1) \ 910 TFS(ThrowWasmTrapDivUnrepresentable, WasmRuntimeCall, 1) \
907 TFS(ThrowWasmTrapRemByZero, WasmRuntimeCall, 1) \ 911 TFS(ThrowWasmTrapRemByZero, WasmRuntimeCall, 1) \
908 TFS(ThrowWasmTrapFloatUnrepresentable, WasmRuntimeCall, 1) \ 912 TFS(ThrowWasmTrapFloatUnrepresentable, WasmRuntimeCall, 1) \
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
1004 #define BUILTIN_LIST_DBG(V) \ 1008 #define BUILTIN_LIST_DBG(V) \
1005 BUILTIN_LIST(IGNORE_BUILTIN, IGNORE_BUILTIN, IGNORE_BUILTIN, IGNORE_BUILTIN, \ 1009 BUILTIN_LIST(IGNORE_BUILTIN, IGNORE_BUILTIN, IGNORE_BUILTIN, IGNORE_BUILTIN, \
1006 IGNORE_BUILTIN, IGNORE_BUILTIN, V) 1010 IGNORE_BUILTIN, IGNORE_BUILTIN, V)
1007 1011
1008 #define BUILTINS_WITH_UNTAGGED_PARAMS(V) V(WasmCompileLazy) 1012 #define BUILTINS_WITH_UNTAGGED_PARAMS(V) V(WasmCompileLazy)
1009 1013
1010 } // namespace internal 1014 } // namespace internal
1011 } // namespace v8 1015 } // namespace v8
1012 1016
1013 #endif // V8_BUILTINS_BUILTINS_DEFINITIONS_H_ 1017 #endif // V8_BUILTINS_BUILTINS_DEFINITIONS_H_
OLDNEW
« 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