Index: pkg/compiler/lib/src/constants/expressions.dart |
diff --git a/pkg/compiler/lib/src/constants/expressions.dart b/pkg/compiler/lib/src/constants/expressions.dart |
index bdb275f23f64cf7276c8bace1aa75e298ecc5a8c..bb66474dd3baafe4150e2fa3b6444e7ae30e9998 100644 |
--- a/pkg/compiler/lib/src/constants/expressions.dart |
+++ b/pkg/compiler/lib/src/constants/expressions.dart |
@@ -482,12 +482,8 @@ class MapConstantExpression extends ConstantExpression { |
ConstantValue value = values[index].evaluate(environment, constantSystem); |
valueMap[key] = value; |
} |
- return constantSystem.createMap( |
- environment.commonElements, |
- environment.backendClasses, |
- type, |
- valueMap.keys.toList(), |
- valueMap.values.toList()); |
+ return constantSystem.createMap(environment.commonElements, type, |
+ valueMap.keys.toList(), valueMap.values.toList()); |
} |
ConstantExpression apply(NormalizedArguments arguments) { |
@@ -738,8 +734,7 @@ class SymbolConstantExpression extends ConstantExpression { |
@override |
ConstantValue evaluate( |
Environment environment, ConstantSystem constantSystem) { |
- return constantSystem.createSymbol( |
- environment.commonElements, environment.backendClasses, name); |
+ return constantSystem.createSymbol(environment.commonElements, name); |
} |
@override |
@@ -774,8 +769,7 @@ class TypeConstantExpression extends ConstantExpression { |
@override |
ConstantValue evaluate( |
Environment environment, ConstantSystem constantSystem) { |
- return constantSystem.createType( |
- environment.commonElements, environment.backendClasses, type); |
+ return constantSystem.createType(environment.commonElements, type); |
} |
@override |