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

Unified Diff: sdk/lib/_internal/compiler/implementation/world.dart

Issue 654903002: Remove ResolutionEnqueuer.isLive (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Add test. Created 6 years, 2 months 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
Index: sdk/lib/_internal/compiler/implementation/world.dart
diff --git a/sdk/lib/_internal/compiler/implementation/world.dart b/sdk/lib/_internal/compiler/implementation/world.dart
index c6246459fdd5bd145d1490b7b64a861dd3a6caef..b10e3081438883709dad73ac6b968e8bdab743e2 100644
--- a/sdk/lib/_internal/compiler/implementation/world.dart
+++ b/sdk/lib/_internal/compiler/implementation/world.dart
@@ -148,7 +148,7 @@ class World implements ClassWorld {
/// Returns `true` if [cls] is instantiated.
bool isInstantiated(ClassElement cls) {
- return compiler.enqueuer.resolution.isLive(cls);
+ return compiler.resolverWorld.isInstantiated(cls);
}
/// Returns an iterable over the live classes that extend [cls] including
@@ -385,7 +385,7 @@ class World implements ClassWorld {
// classes: if the superclass of these classes require RTI, then
// they also need RTI, so that a constructor passes the type
// variables to the super constructor.
- compiler.resolverWorld.allInstantiatedClasses.forEach(addSubtypes);
+ compiler.resolverWorld.directlyInstantiatedClasses.forEach(addSubtypes);
}
void registerMixinUse(MixinApplicationElement mixinApplication,

Powered by Google App Engine
This is Rietveld 408576698