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

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

Issue 2814683002: [builtins] Implement %TypedArray%.prototype.map in the CSA (Closed)
Patch Set: added spec 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
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 892 matching lines...) Expand 10 before | Expand all | Expand 10 after
903 /* ES6 #sec-%typedarray%.prototype.slice */ \ 903 /* ES6 #sec-%typedarray%.prototype.slice */ \
904 CPP(TypedArrayPrototypeSlice) \ 904 CPP(TypedArrayPrototypeSlice) \
905 /* ES6 %TypedArray%.prototype.every */ \ 905 /* ES6 %TypedArray%.prototype.every */ \
906 TFJ(TypedArrayPrototypeEvery, 2, kCallbackFn, kThisArg) \ 906 TFJ(TypedArrayPrototypeEvery, 2, kCallbackFn, kThisArg) \
907 /* ES6 %TypedArray%.prototype.some */ \ 907 /* ES6 %TypedArray%.prototype.some */ \
908 TFJ(TypedArrayPrototypeSome, 2, kCallbackFn, kThisArg) \ 908 TFJ(TypedArrayPrototypeSome, 2, kCallbackFn, kThisArg) \
909 /* ES6 %TypedArray%.prototype.reduce */ \ 909 /* ES6 %TypedArray%.prototype.reduce */ \
910 TFJ(TypedArrayPrototypeReduce, 2, kCallbackFn, kInitialValue) \ 910 TFJ(TypedArrayPrototypeReduce, 2, kCallbackFn, kInitialValue) \
911 /* ES6 %TypedArray%.prototype.reduceRight */ \ 911 /* ES6 %TypedArray%.prototype.reduceRight */ \
912 TFJ(TypedArrayPrototypeReduceRight, 2, kCallbackFn, kInitialValue) \ 912 TFJ(TypedArrayPrototypeReduceRight, 2, kCallbackFn, kInitialValue) \
913 /* ES6 %TypedArray%.prototype.map */ \
914 TFJ(TypedArrayPrototypeMap, 2, kCallbackFn, kThisArg) \
913 \ 915 \
914 /* Wasm */ \ 916 /* Wasm */ \
915 ASM(WasmCompileLazy) \ 917 ASM(WasmCompileLazy) \
916 TFC(WasmStackGuard, WasmRuntimeCall, 1) \ 918 TFC(WasmStackGuard, WasmRuntimeCall, 1) \
917 TFC(ThrowWasmTrapUnreachable, WasmRuntimeCall, 1) \ 919 TFC(ThrowWasmTrapUnreachable, WasmRuntimeCall, 1) \
918 TFC(ThrowWasmTrapMemOutOfBounds, WasmRuntimeCall, 1) \ 920 TFC(ThrowWasmTrapMemOutOfBounds, WasmRuntimeCall, 1) \
919 TFC(ThrowWasmTrapDivByZero, WasmRuntimeCall, 1) \ 921 TFC(ThrowWasmTrapDivByZero, WasmRuntimeCall, 1) \
920 TFC(ThrowWasmTrapDivUnrepresentable, WasmRuntimeCall, 1) \ 922 TFC(ThrowWasmTrapDivUnrepresentable, WasmRuntimeCall, 1) \
921 TFC(ThrowWasmTrapRemByZero, WasmRuntimeCall, 1) \ 923 TFC(ThrowWasmTrapRemByZero, WasmRuntimeCall, 1) \
922 TFC(ThrowWasmTrapFloatUnrepresentable, WasmRuntimeCall, 1) \ 924 TFC(ThrowWasmTrapFloatUnrepresentable, WasmRuntimeCall, 1) \
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
1025 #define BUILTIN_LIST_TFS(V) \ 1027 #define BUILTIN_LIST_TFS(V) \
1026 BUILTIN_LIST(IGNORE_BUILTIN, IGNORE_BUILTIN, IGNORE_BUILTIN, IGNORE_BUILTIN, \ 1028 BUILTIN_LIST(IGNORE_BUILTIN, IGNORE_BUILTIN, IGNORE_BUILTIN, IGNORE_BUILTIN, \
1027 V, IGNORE_BUILTIN, IGNORE_BUILTIN, IGNORE_BUILTIN) 1029 V, IGNORE_BUILTIN, IGNORE_BUILTIN, IGNORE_BUILTIN)
1028 1030
1029 #define BUILTINS_WITH_UNTAGGED_PARAMS(V) V(WasmCompileLazy) 1031 #define BUILTINS_WITH_UNTAGGED_PARAMS(V) V(WasmCompileLazy)
1030 1032
1031 } // namespace internal 1033 } // namespace internal
1032 } // namespace v8 1034 } // namespace v8
1033 1035
1034 #endif // V8_BUILTINS_BUILTINS_DEFINITIONS_H_ 1036 #endif // V8_BUILTINS_BUILTINS_DEFINITIONS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698