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

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

Issue 2917263002: Move generator-close on exception from the generator function to the GeneratorResume builtin. (Closed)
Patch Set: Add register allocation scope Created 3 years, 6 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
« no previous file with comments | « src/ast/ast.h ('k') | src/builtins/builtins-generator-gen.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 1031 matching lines...) Expand 10 before | Expand all | Expand 10 after
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_
OLDNEW
« no previous file with comments | « src/ast/ast.h ('k') | src/builtins/builtins-generator-gen.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698