Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(809)

Unified Diff: pkg/compiler/lib/src/compiler.dart

Issue 2556073002: Remove Compiler.openWorld (Closed)
Patch Set: Cleanup. Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « pkg/compiler/lib/src/closure.dart ('k') | pkg/compiler/lib/src/enqueue.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « pkg/compiler/lib/src/closure.dart ('k') | pkg/compiler/lib/src/enqueue.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698