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 901 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
912 /* ES6 #sec-%typedarray%.prototype.fill */ \ | 912 /* ES6 #sec-%typedarray%.prototype.fill */ \ |
913 CPP(TypedArrayPrototypeFill) \ | 913 CPP(TypedArrayPrototypeFill) \ |
914 /* ES7 #sec-%typedarray%.prototype.includes */ \ | 914 /* ES7 #sec-%typedarray%.prototype.includes */ \ |
915 CPP(TypedArrayPrototypeIncludes) \ | 915 CPP(TypedArrayPrototypeIncludes) \ |
916 /* ES6 #sec-%typedarray%.prototype.indexof */ \ | 916 /* ES6 #sec-%typedarray%.prototype.indexof */ \ |
917 CPP(TypedArrayPrototypeIndexOf) \ | 917 CPP(TypedArrayPrototypeIndexOf) \ |
918 /* ES6 #sec-%typedarray%.prototype.lastindexof */ \ | 918 /* ES6 #sec-%typedarray%.prototype.lastindexof */ \ |
919 CPP(TypedArrayPrototypeLastIndexOf) \ | 919 CPP(TypedArrayPrototypeLastIndexOf) \ |
920 /* ES6 #sec-%typedarray%.prototype.reverse */ \ | 920 /* ES6 #sec-%typedarray%.prototype.reverse */ \ |
921 CPP(TypedArrayPrototypeReverse) \ | 921 CPP(TypedArrayPrototypeReverse) \ |
| 922 /* ES6 #sec-%typedarray%.prototype.slice */ \ |
| 923 CPP(TypedArrayPrototypeSlice) \ |
922 \ | 924 \ |
923 /* Wasm */ \ | 925 /* Wasm */ \ |
924 ASM(WasmCompileLazy) \ | 926 ASM(WasmCompileLazy) \ |
925 TFS(WasmStackGuard, BUILTIN, kNoExtraICState, WasmRuntimeCall, 1) \ | 927 TFS(WasmStackGuard, BUILTIN, kNoExtraICState, WasmRuntimeCall, 1) \ |
926 TFS(ThrowWasmTrapUnreachable, BUILTIN, kNoExtraICState, WasmRuntimeCall, 1) \ | 928 TFS(ThrowWasmTrapUnreachable, BUILTIN, kNoExtraICState, WasmRuntimeCall, 1) \ |
927 TFS(ThrowWasmTrapMemOutOfBounds, BUILTIN, kNoExtraICState, WasmRuntimeCall, \ | 929 TFS(ThrowWasmTrapMemOutOfBounds, BUILTIN, kNoExtraICState, WasmRuntimeCall, \ |
928 1) \ | 930 1) \ |
929 TFS(ThrowWasmTrapDivByZero, BUILTIN, kNoExtraICState, WasmRuntimeCall, 1) \ | 931 TFS(ThrowWasmTrapDivByZero, BUILTIN, kNoExtraICState, WasmRuntimeCall, 1) \ |
930 TFS(ThrowWasmTrapDivUnrepresentable, BUILTIN, kNoExtraICState, \ | 932 TFS(ThrowWasmTrapDivUnrepresentable, BUILTIN, kNoExtraICState, \ |
931 WasmRuntimeCall, 1) \ | 933 WasmRuntimeCall, 1) \ |
(...skipping 195 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1127 | 1129 |
1128 friend class Isolate; | 1130 friend class Isolate; |
1129 | 1131 |
1130 DISALLOW_COPY_AND_ASSIGN(Builtins); | 1132 DISALLOW_COPY_AND_ASSIGN(Builtins); |
1131 }; | 1133 }; |
1132 | 1134 |
1133 } // namespace internal | 1135 } // namespace internal |
1134 } // namespace v8 | 1136 } // namespace v8 |
1135 | 1137 |
1136 #endif // V8_BUILTINS_BUILTINS_H_ | 1138 #endif // V8_BUILTINS_BUILTINS_H_ |
OLD | NEW |