Index: pkg/compiler/lib/src/resolution/registry.dart |
diff --git a/pkg/compiler/lib/src/resolution/registry.dart b/pkg/compiler/lib/src/resolution/registry.dart |
index 941fb38550d1c48d860c3dcd4267fb632fd5369a..28a7ed3be224c0542cd2bac58f347aad672e25fb 100644 |
--- a/pkg/compiler/lib/src/resolution/registry.dart |
+++ b/pkg/compiler/lib/src/resolution/registry.dart |
@@ -2,7 +2,39 @@ |
// for details. All rights reserved. Use of this source code is governed by a |
// BSD-style license that can be found in the LICENSE file. |
-part of resolution; |
+library dart2js.resolution.registry; |
+ |
+import '../common/backend_api.dart' show |
+ Backend; |
+import '../common/registry.dart' show |
+ Registry; |
+import '../compiler.dart' show |
+ Compiler, |
+ isPrivateName; |
+import '../constants/expressions.dart'; |
+import '../dart_types.dart'; |
+import '../diagnostics/invariant.dart' show |
+ invariant; |
+import '../enqueue.dart' show |
+ ResolutionEnqueuer, |
+ WorldImpact; |
+import '../elements/elements.dart'; |
+import '../tree/tree.dart'; |
+import '../util/util.dart' show |
+ Setlet; |
+import '../universe/universe.dart' show |
+ CallStructure, |
+ Selector, |
+ SelectorKind, |
+ UniverseSelector; |
+import '../world.dart' show World; |
+ |
+import 'send_structure.dart'; |
+ |
+import 'members.dart' show |
+ ResolverVisitor; |
+import 'tree_elements.dart' show |
+ TreeElementMapping; |
/// [ResolutionRegistry] collects all resolution information. It stores node |
/// related information in a [TreeElements] mapping and registers calls with |
@@ -174,10 +206,7 @@ class ResolutionRegistry implements Registry { |
final TreeElementMapping mapping; |
final ResolutionWorldImpact worldImpact; |
- ResolutionRegistry(Compiler compiler, Element element) |
- : this.internal(compiler, _ensureTreeElements(element)); |
- |
- ResolutionRegistry.internal(Compiler compiler, TreeElementMapping mapping) |
+ ResolutionRegistry(Compiler compiler, TreeElementMapping mapping) |
: this.compiler = compiler, |
this.mapping = mapping, |
this.worldImpact = new ResolutionWorldImpact(compiler, mapping); |