Index: pkg/compiler/lib/src/constants/constant_system.dart |
diff --git a/pkg/compiler/lib/src/constants/constant_system.dart b/pkg/compiler/lib/src/constants/constant_system.dart |
index e8260b994dec4edcb6e3ab787e058049a48864c7..085fe293955b60e0ff235f18b1d61b75e505a1ef 100644 |
--- a/pkg/compiler/lib/src/constants/constant_system.dart |
+++ b/pkg/compiler/lib/src/constants/constant_system.dart |
@@ -61,10 +61,16 @@ abstract class ConstantSystem { |
ConstantValue createString(DartString string); |
ConstantValue createBool(bool value); |
ConstantValue createNull(); |
+ ConstantValue createList(InterfaceType type, |
+ List<ConstantValue> values); |
+ // TODO(johnniwinther): Remove the need for [compiler]. |
ConstantValue createMap(Compiler compiler, |
InterfaceType type, |
List<ConstantValue> keys, |
List<ConstantValue> values); |
+ // TODO(johnniwinther): Remove the need for [compiler]. |
+ ConstantValue createType(Compiler compiler, |
+ DartType type); |
// We need to special case the subtype check for JavaScript constant |
// system because an int is a double at runtime. |