Index: pkg/compiler/lib/src/js_backend/type_variable_handler.dart |
diff --git a/pkg/compiler/lib/src/js_backend/type_variable_handler.dart b/pkg/compiler/lib/src/js_backend/type_variable_handler.dart |
index 5d779a05ebfb8e5bf4586ef55f507dd675c2ba17..82b4fe514f2299e074c2c087b308b2fc70c0a5c5 100644 |
--- a/pkg/compiler/lib/src/js_backend/type_variable_handler.dart |
+++ b/pkg/compiler/lib/src/js_backend/type_variable_handler.dart |
@@ -43,8 +43,7 @@ class TypeVariableHandler { |
// On first encounter, we have to ensure that the support classes get |
// resolved. |
if (!_seenClassesWithTypeVariables) { |
- _backend.enqueueClass( |
- enqueuer, _typeVariableClass, registry); |
+ _backend.enqueueClass(enqueuer, _typeVariableClass, registry); |
_typeVariableClass.ensureResolved(_compiler); |
Link constructors = _typeVariableClass.constructors; |
if (constructors.isEmpty && constructors.tail.isEmpty) { |
@@ -53,9 +52,9 @@ class TypeVariableHandler { |
} |
_typeVariableConstructor = _typeVariableClass.constructors.head; |
_backend.enqueueInResolution(_typeVariableConstructor, registry); |
- enqueuer.registerInstantiatedType(_typeVariableClass.rawType, |
- registry); |
- enqueuer.registerStaticUse(_backend.getCreateRuntimeType()); |
+ enqueuer.registerInstantiatedType(_typeVariableClass.rawType, registry); |
+ enqueuer.registerStaticUse( |
+ _backend.registerBackendUse(_backend.getCreateRuntimeType())); |
_seenClassesWithTypeVariables = true; |
} |
} else { |