OLD | NEW |
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 1031 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1042 V(PromiseConstructor) \ | 1042 V(PromiseConstructor) \ |
1043 V(PromiseHandle) \ | 1043 V(PromiseHandle) \ |
1044 V(PromiseResolve) \ | 1044 V(PromiseResolve) \ |
1045 V(PromiseResolveClosure) \ | 1045 V(PromiseResolveClosure) \ |
1046 V(RejectNativePromise) \ | 1046 V(RejectNativePromise) \ |
1047 V(ResolveNativePromise) \ | 1047 V(ResolveNativePromise) \ |
1048 V(ResolvePromise) | 1048 V(ResolvePromise) |
1049 | 1049 |
1050 #define BUILTIN_EXCEPTION_CAUGHT_PREDICTION_LIST(V) V(PromiseHandleReject) | 1050 #define BUILTIN_EXCEPTION_CAUGHT_PREDICTION_LIST(V) V(PromiseHandleReject) |
1051 | 1051 |
1052 #define BUILTIN_EXCEPTION_UNCAUGHT_PREDICTION_LIST(V) V(MapConstructor) | 1052 #define BUILTIN_EXCEPTION_UNCAUGHT_PREDICTION_LIST(V) \ |
| 1053 V(MapConstructor) \ |
| 1054 V(GeneratorPrototypeNext) \ |
| 1055 V(GeneratorPrototypeReturn) \ |
| 1056 V(GeneratorPrototypeThrow) |
1053 | 1057 |
1054 #define IGNORE_BUILTIN(...) | 1058 #define IGNORE_BUILTIN(...) |
1055 | 1059 |
1056 #define BUILTIN_LIST_ALL(V) BUILTIN_LIST(V, V, V, V, V, V, V, V) | 1060 #define BUILTIN_LIST_ALL(V) BUILTIN_LIST(V, V, V, V, V, V, V, V) |
1057 | 1061 |
1058 #define BUILTIN_LIST_C(V) \ | 1062 #define BUILTIN_LIST_C(V) \ |
1059 BUILTIN_LIST(V, V, IGNORE_BUILTIN, IGNORE_BUILTIN, IGNORE_BUILTIN, \ | 1063 BUILTIN_LIST(V, V, IGNORE_BUILTIN, IGNORE_BUILTIN, IGNORE_BUILTIN, \ |
1060 IGNORE_BUILTIN, IGNORE_BUILTIN, IGNORE_BUILTIN) | 1064 IGNORE_BUILTIN, IGNORE_BUILTIN, IGNORE_BUILTIN) |
1061 | 1065 |
1062 #define BUILTIN_LIST_A(V) \ | 1066 #define BUILTIN_LIST_A(V) \ |
1063 BUILTIN_LIST(IGNORE_BUILTIN, IGNORE_BUILTIN, IGNORE_BUILTIN, IGNORE_BUILTIN, \ | 1067 BUILTIN_LIST(IGNORE_BUILTIN, IGNORE_BUILTIN, IGNORE_BUILTIN, IGNORE_BUILTIN, \ |
1064 IGNORE_BUILTIN, IGNORE_BUILTIN, V, V) | 1068 IGNORE_BUILTIN, IGNORE_BUILTIN, V, V) |
1065 | 1069 |
1066 #define BUILTIN_LIST_DBG(V) \ | 1070 #define BUILTIN_LIST_DBG(V) \ |
1067 BUILTIN_LIST(IGNORE_BUILTIN, IGNORE_BUILTIN, IGNORE_BUILTIN, IGNORE_BUILTIN, \ | 1071 BUILTIN_LIST(IGNORE_BUILTIN, IGNORE_BUILTIN, IGNORE_BUILTIN, IGNORE_BUILTIN, \ |
1068 IGNORE_BUILTIN, IGNORE_BUILTIN, IGNORE_BUILTIN, V) | 1072 IGNORE_BUILTIN, IGNORE_BUILTIN, IGNORE_BUILTIN, V) |
1069 | 1073 |
1070 #define BUILTIN_LIST_TFS(V) \ | 1074 #define BUILTIN_LIST_TFS(V) \ |
1071 BUILTIN_LIST(IGNORE_BUILTIN, IGNORE_BUILTIN, IGNORE_BUILTIN, IGNORE_BUILTIN, \ | 1075 BUILTIN_LIST(IGNORE_BUILTIN, IGNORE_BUILTIN, IGNORE_BUILTIN, IGNORE_BUILTIN, \ |
1072 V, IGNORE_BUILTIN, IGNORE_BUILTIN, IGNORE_BUILTIN) | 1076 V, IGNORE_BUILTIN, IGNORE_BUILTIN, IGNORE_BUILTIN) |
1073 | 1077 |
1074 #define BUILTINS_WITH_UNTAGGED_PARAMS(V) V(WasmCompileLazy) | 1078 #define BUILTINS_WITH_UNTAGGED_PARAMS(V) V(WasmCompileLazy) |
1075 | 1079 |
1076 } // namespace internal | 1080 } // namespace internal |
1077 } // namespace v8 | 1081 } // namespace v8 |
1078 | 1082 |
1079 #endif // V8_BUILTINS_BUILTINS_DEFINITIONS_H_ | 1083 #endif // V8_BUILTINS_BUILTINS_DEFINITIONS_H_ |
OLD | NEW |