OLD | NEW |
1 // Copyright 2011 the V8 project authors. All rights reserved. | 1 // Copyright 2011 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_H_ | 5 #ifndef V8_BUILTINS_BUILTINS_H_ |
6 #define V8_BUILTINS_BUILTINS_H_ | 6 #define V8_BUILTINS_BUILTINS_H_ |
7 | 7 |
8 #include "src/base/flags.h" | 8 #include "src/base/flags.h" |
9 #include "src/globals.h" | 9 #include "src/globals.h" |
10 | 10 |
(...skipping 831 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
842 /* ES6 #sec-%typedarray%.prototype.values */ \ | 842 /* ES6 #sec-%typedarray%.prototype.values */ \ |
843 TFJ(TypedArrayPrototypeValues, 0) \ | 843 TFJ(TypedArrayPrototypeValues, 0) \ |
844 /* ES6 #sec-%typedarray%.prototype.copywithin */ \ | 844 /* ES6 #sec-%typedarray%.prototype.copywithin */ \ |
845 CPP(TypedArrayPrototypeCopyWithin) \ | 845 CPP(TypedArrayPrototypeCopyWithin) \ |
846 /* ES7 #sec-%typedarray%.prototype.includes */ \ | 846 /* ES7 #sec-%typedarray%.prototype.includes */ \ |
847 CPP(TypedArrayPrototypeIncludes) \ | 847 CPP(TypedArrayPrototypeIncludes) \ |
848 /* ES6 #sec-%typedarray%.prototype.indexof */ \ | 848 /* ES6 #sec-%typedarray%.prototype.indexof */ \ |
849 CPP(TypedArrayPrototypeIndexOf) \ | 849 CPP(TypedArrayPrototypeIndexOf) \ |
850 /* ES6 #sec-%typedarray%.prototype.indexof */ \ | 850 /* ES6 #sec-%typedarray%.prototype.indexof */ \ |
851 CPP(TypedArrayPrototypeLastIndexOf) \ | 851 CPP(TypedArrayPrototypeLastIndexOf) \ |
| 852 /* ES6 #sec-%typedarray%.prototype.slice */ \ |
| 853 CPP(TypedArrayPrototypeSlice) \ |
852 \ | 854 \ |
853 /* Wasm */ \ | 855 /* Wasm */ \ |
854 TFS(WasmStackGuard, BUILTIN, kNoExtraICState, WasmRuntimeCall, 1) \ | 856 TFS(WasmStackGuard, BUILTIN, kNoExtraICState, WasmRuntimeCall, 1) \ |
855 TFS(ThrowWasmTrapUnreachable, BUILTIN, kNoExtraICState, WasmRuntimeCall, 1) \ | 857 TFS(ThrowWasmTrapUnreachable, BUILTIN, kNoExtraICState, WasmRuntimeCall, 1) \ |
856 TFS(ThrowWasmTrapMemOutOfBounds, BUILTIN, kNoExtraICState, WasmRuntimeCall, \ | 858 TFS(ThrowWasmTrapMemOutOfBounds, BUILTIN, kNoExtraICState, WasmRuntimeCall, \ |
857 1) \ | 859 1) \ |
858 TFS(ThrowWasmTrapDivByZero, BUILTIN, kNoExtraICState, WasmRuntimeCall, 1) \ | 860 TFS(ThrowWasmTrapDivByZero, BUILTIN, kNoExtraICState, WasmRuntimeCall, 1) \ |
859 TFS(ThrowWasmTrapDivUnrepresentable, BUILTIN, kNoExtraICState, \ | 861 TFS(ThrowWasmTrapDivUnrepresentable, BUILTIN, kNoExtraICState, \ |
860 WasmRuntimeCall, 1) \ | 862 WasmRuntimeCall, 1) \ |
861 TFS(ThrowWasmTrapRemByZero, BUILTIN, kNoExtraICState, WasmRuntimeCall, 1) \ | 863 TFS(ThrowWasmTrapRemByZero, BUILTIN, kNoExtraICState, WasmRuntimeCall, 1) \ |
(...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1042 | 1044 |
1043 friend class Isolate; | 1045 friend class Isolate; |
1044 | 1046 |
1045 DISALLOW_COPY_AND_ASSIGN(Builtins); | 1047 DISALLOW_COPY_AND_ASSIGN(Builtins); |
1046 }; | 1048 }; |
1047 | 1049 |
1048 } // namespace internal | 1050 } // namespace internal |
1049 } // namespace v8 | 1051 } // namespace v8 |
1050 | 1052 |
1051 #endif // V8_BUILTINS_BUILTINS_H_ | 1053 #endif // V8_BUILTINS_BUILTINS_H_ |
OLD | NEW |