Index: pkg/compiler/lib/src/common/names.dart |
diff --git a/pkg/compiler/lib/src/common/names.dart b/pkg/compiler/lib/src/common/names.dart |
index fa1812ced1dfde40040c03606acad5628de0be05..657cc6fbe23438752d32f9d8e8a6f69d59949d9f 100644 |
--- a/pkg/compiler/lib/src/common/names.dart |
+++ b/pkg/compiler/lib/src/common/names.dart |
@@ -108,6 +108,14 @@ class Selectors { |
static final Selector equals = new Selector.binaryOperator('=='); |
static final Selector length = new Selector.getter(Names.length); |
+ |
+ /// List of all the selectors held in static fields. |
+ /// |
+ /// These objects are shared between different runs in batch-mode and must |
+ /// thus remain in the [Selector.canonicalizedValues] map. |
+ static final List<Selector> ALL = <Selector>[ |
+ cancel, current, iterator, moveNext, noSuchMethod_, toString_, |
+ hashCode_, compareTo, equals, length]; |
} |
/// [Uri]s commonly used. |