Index: pkg/compiler/lib/src/closure.dart |
diff --git a/pkg/compiler/lib/src/closure.dart b/pkg/compiler/lib/src/closure.dart |
index 547d36fedb18d174a61e0201283c0c949e524cae..f44b2d2a398a3513bc46103d0d560fc4b78edf0e 100644 |
--- a/pkg/compiler/lib/src/closure.dart |
+++ b/pkg/compiler/lib/src/closure.dart |
@@ -19,7 +19,7 @@ import 'js_backend/js_backend.dart' show JavaScriptBackend; |
import 'resolution/tree_elements.dart' show TreeElements; |
import 'tokens/token.dart' show Token; |
import 'tree/tree.dart'; |
-import 'universe/universe.dart' show Universe; |
+import 'universe/universe.dart' show CodegenUniverse; |
import 'util/util.dart'; |
class ClosureTask extends CompilerTask { |
@@ -517,14 +517,6 @@ class ClosureClassMap { |
scope.forEachCapturedVariable(f); |
}); |
} |
- |
- void removeMyselfFrom(Universe universe) { |
- freeVariableMap.values.forEach((e) { |
- universe.closurizedMembers.remove(e); |
- universe.fieldSetters.remove(e); |
- universe.fieldGetters.remove(e); |
- }); |
- } |
} |
class ClosureTranslator extends Visitor { |