| Index: pkg/compiler/lib/src/js_backend/backend.dart
|
| diff --git a/pkg/compiler/lib/src/js_backend/backend.dart b/pkg/compiler/lib/src/js_backend/backend.dart
|
| index e0cc2538821e599128969aafb10c9f75e528386a..dba5003f7da64737b084a925ca598651bc43ad49 100644
|
| --- a/pkg/compiler/lib/src/js_backend/backend.dart
|
| +++ b/pkg/compiler/lib/src/js_backend/backend.dart
|
| @@ -1099,11 +1099,8 @@ class JavaScriptBackend extends Backend {
|
|
|
| void computeImpactForInstantiatedConstantType(
|
| DartType type, WorldImpactBuilder impactBuilder) {
|
| - DartType instantiatedType =
|
| - type.isFunctionType ? commonElements.functionType : type;
|
| if (type is InterfaceType) {
|
| - impactBuilder
|
| - .registerTypeUse(new TypeUse.instantiation(instantiatedType));
|
| + impactBuilder.registerTypeUse(new TypeUse.instantiation(type));
|
| if (classNeedsRtiField(type.element)) {
|
| impactBuilder.registerStaticUse(new StaticUse.staticInvoke(
|
| // TODO(johnniwinther): Find the right [CallStructure].
|
|
|