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

Side by Side Diff: pkg/kernel/lib/transformations/flags.dart

Issue 2531873002: Add --verify-ir flag to dartk and test.py. (Closed)
Patch Set: Minor fixes Created 4 years 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 | « pkg/kernel/lib/text/ast_to_text.dart ('k') | pkg/kernel/lib/verifier.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 library kernel.transformations.flags; 1 library kernel.transformations.flags;
2 2
3 import '../ast.dart'; 3 import '../ast.dart';
4 4
5 /// Flags summarizing the kinds of AST nodes contained in a given member or 5 /// Flags summarizing the kinds of AST nodes contained in a given member or
6 /// class, for speeding up transformations that only affect certain types of 6 /// class, for speeding up transformations that only affect certain types of
7 /// nodes. 7 /// nodes.
8 /// 8 ///
9 /// These are set by the frontend and the deserializer. 9 /// These are set by the frontend and the deserializer.
10 class TransformerFlag { 10 class TransformerFlag {
11 /// The class or member contains 'super' calls, that is, one of the AST nodes 11 /// The class or member contains 'super' calls, that is, one of the AST nodes
12 /// [SuperPropertyGet], [SuperPropertySet], [SuperMethodInvocation]. 12 /// [SuperPropertyGet], [SuperPropertySet], [SuperMethodInvocation].
13 static const int superCalls = 1 << 0; 13 static const int superCalls = 1 << 0;
14 14
15 /// Temporary flag used by sanity checks to indicate that the given member 15 /// Temporary flag used by the verifier to indicate that the given member
16 /// has been seen. 16 /// has been seen.
17 static const int seenBySanityCheck = 1 << 1; 17 static const int seenByVerifier = 1 << 1;
18 18
19 // TODO(asgerf): We could also add a flag for 'async' and will probably have 19 // TODO(asgerf): We could also add a flag for 'async' and will probably have
20 // one for closures as well. 20 // one for closures as well.
21 } 21 }
OLDNEW
« no previous file with comments | « pkg/kernel/lib/text/ast_to_text.dart ('k') | pkg/kernel/lib/verifier.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698