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 1090 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1101 V(ResolveNativePromise) \ | 1101 V(ResolveNativePromise) \ |
1102 V(ResolvePromise) | 1102 V(ResolvePromise) |
1103 | 1103 |
1104 // The exception thrown in the following builtins are caught | 1104 // The exception thrown in the following builtins are caught |
1105 // internally and should not trigger the catch prediction heuristic. | 1105 // internally and should not trigger the catch prediction heuristic. |
1106 #define BUILTIN_EXCEPTION_CAUGHT_PREDICTION_LIST(V) V(PromiseHandleReject) | 1106 #define BUILTIN_EXCEPTION_CAUGHT_PREDICTION_LIST(V) V(PromiseHandleReject) |
1107 | 1107 |
1108 // The exception thrown in the following builtins are not caught | 1108 // The exception thrown in the following builtins are not caught |
1109 // internally and should trigger the catch prediction heuristic. | 1109 // internally and should trigger the catch prediction heuristic. |
1110 #define BUILTIN_EXCEPTION_UNCAUGHT_PREDICTION_LIST(V) \ | 1110 #define BUILTIN_EXCEPTION_UNCAUGHT_PREDICTION_LIST(V) \ |
| 1111 V(ArrayForEachLoopLazyDeoptContinuation) \ |
1111 V(MapConstructor) \ | 1112 V(MapConstructor) \ |
1112 V(SetConstructor) \ | 1113 V(SetConstructor) \ |
1113 V(GeneratorPrototypeNext) \ | 1114 V(GeneratorPrototypeNext) \ |
1114 V(GeneratorPrototypeReturn) \ | 1115 V(GeneratorPrototypeReturn) \ |
1115 V(GeneratorPrototypeThrow) | 1116 V(GeneratorPrototypeThrow) |
1116 | 1117 |
1117 #define IGNORE_BUILTIN(...) | 1118 #define IGNORE_BUILTIN(...) |
1118 | 1119 |
1119 #define BUILTIN_LIST_ALL(V) BUILTIN_LIST(V, V, V, V, V, V, V, V) | 1120 #define BUILTIN_LIST_ALL(V) BUILTIN_LIST(V, V, V, V, V, V, V, V) |
1120 | 1121 |
(...skipping 20 matching lines...) Expand all Loading... |
1141 #define BUILTIN_LIST_TFC(V) \ | 1142 #define BUILTIN_LIST_TFC(V) \ |
1142 BUILTIN_LIST(IGNORE_BUILTIN, IGNORE_BUILTIN, IGNORE_BUILTIN, V, \ | 1143 BUILTIN_LIST(IGNORE_BUILTIN, IGNORE_BUILTIN, IGNORE_BUILTIN, V, \ |
1143 IGNORE_BUILTIN, IGNORE_BUILTIN, IGNORE_BUILTIN, IGNORE_BUILTIN) | 1144 IGNORE_BUILTIN, IGNORE_BUILTIN, IGNORE_BUILTIN, IGNORE_BUILTIN) |
1144 | 1145 |
1145 #define BUILTINS_WITH_UNTAGGED_PARAMS(V) V(WasmCompileLazy) | 1146 #define BUILTINS_WITH_UNTAGGED_PARAMS(V) V(WasmCompileLazy) |
1146 | 1147 |
1147 } // namespace internal | 1148 } // namespace internal |
1148 } // namespace v8 | 1149 } // namespace v8 |
1149 | 1150 |
1150 #endif // V8_BUILTINS_BUILTINS_DEFINITIONS_H_ | 1151 #endif // V8_BUILTINS_BUILTINS_DEFINITIONS_H_ |
OLD | NEW |