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

Side by Side Diff: pkg/compiler/lib/src/universe/feature.dart

Issue 2360773003: More kernel_impact. (Closed)
Patch Set: Updated cf. comments Created 4 years, 2 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
OLDNEW
1 // TODO(sigmund): rename universe => world 1 // TODO(sigmund): rename universe => world
2 /// Describes individual features that may be seen in a program. Most features 2 /// Describes individual features that may be seen in a program. Most features
3 /// can be described only by name using the [Feature] enum, some features are 3 /// can be described only by name using the [Feature] enum, some features are
4 /// expressed including details on how they are used. For example, whether a 4 /// expressed including details on how they are used. For example, whether a
5 /// list literal was constant or empty. 5 /// list literal was constant or empty.
6 /// 6 ///
7 /// The use of these features is typically discovered in an early phase of the 7 /// The use of these features is typically discovered in an early phase of the
8 /// compilation pipeline, for example during resolution. 8 /// compilation pipeline, for example during resolution.
9 library compiler.universe.feature; 9 library compiler.universe.feature;
10 10
(...skipping 25 matching lines...) Expand all
36 36
37 /// A compile time error. 37 /// A compile time error.
38 COMPILE_TIME_ERROR, 38 COMPILE_TIME_ERROR,
39 39
40 /// A fall through in a switch case. 40 /// A fall through in a switch case.
41 FALL_THROUGH_ERROR, 41 FALL_THROUGH_ERROR,
42 42
43 /// A field without an initializer. 43 /// A field without an initializer.
44 FIELD_WITHOUT_INITIALIZER, 44 FIELD_WITHOUT_INITIALIZER,
45 45
46 /// A local variable without an initializer.
47 LOCAL_WITHOUT_INITIALIZER,
48
46 /// A field whose initialization is not a constant. 49 /// A field whose initialization is not a constant.
47 LAZY_FIELD, 50 LAZY_FIELD,
48 51
49 /// A catch clause with a variable for the stack trace. 52 /// A catch clause with a variable for the stack trace.
50 STACK_TRACE_IN_CATCH, 53 STACK_TRACE_IN_CATCH,
51 54
52 /// String interpolation. 55 /// String interpolation.
53 STRING_INTERPOLATION, 56 STRING_INTERPOLATION,
54 57
55 /// String juxtaposition. 58 /// String juxtaposition.
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
129 if (other is! ListLiteralUse) return false; 132 if (other is! ListLiteralUse) return false;
130 return type == other.type && 133 return type == other.type &&
131 isConstant == other.isConstant && 134 isConstant == other.isConstant &&
132 isEmpty == other.isEmpty; 135 isEmpty == other.isEmpty;
133 } 136 }
134 137
135 String toString() { 138 String toString() {
136 return 'ListLiteralUse($type,isConstant:$isConstant,isEmpty:$isEmpty)'; 139 return 'ListLiteralUse($type,isConstant:$isConstant,isEmpty:$isEmpty)';
137 } 140 }
138 } 141 }
OLDNEW
« no previous file with comments | « pkg/compiler/lib/src/ssa/kernel_impact.dart ('k') | tests/compiler/dart2js/kernel/impact_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698