Index: pkg/compiler/lib/src/compiler.dart |
diff --git a/pkg/compiler/lib/src/compiler.dart b/pkg/compiler/lib/src/compiler.dart |
index 16ef47def239ff05060757451ce5cd778b56b6dd..662187d59810edaae4790acf5c61ce704296a454 100644 |
--- a/pkg/compiler/lib/src/compiler.dart |
+++ b/pkg/compiler/lib/src/compiler.dart |
@@ -324,7 +324,7 @@ abstract class Compiler implements LibraryLoaderListener { |
/// Override this to mock the resolver for testing. |
ResolverTask createResolverTask() { |
return new ResolverTask( |
- resolution, backend.constantCompilerTask, openWorld, measurer); |
+ resolution, backend.constantCompilerTask, measurer); |
} |
// TODO(johnniwinther): Rename these appropriately when unification of worlds/ |
@@ -774,7 +774,7 @@ abstract class Compiler implements LibraryLoaderListener { |
void closeResolution() { |
phase = PHASE_DONE_RESOLVING; |
- openWorld.closeWorld(reporter); |
+ resolverWorld.openWorld.closeWorld(reporter); |
// Compute whole-program-knowledge that the backend needs. (This might |
// require the information computed in [world.closeWorld].) |
backend.onResolutionComplete(); |
@@ -1983,7 +1983,7 @@ class CompilerResolution implements Resolution { |
@override |
void registerClass(ClassElement cls) { |
- _compiler.openWorld.registerClass(cls); |
+ enqueuer.universe.openWorld.registerClass(cls); |
} |
@override |