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

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

Issue 1961323002: Register mixin use from modelz. (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Updated cf. comments. Created 4 years, 7 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: 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 7de89c24ca02d54b4515e6120af93e48ddf21077..6d56c8e64bb3c058c0facee20783b7da87833ee8 100644
--- a/pkg/compiler/lib/src/resolution/registry.dart
+++ b/pkg/compiler/lib/src/resolution/registry.dart
@@ -22,7 +22,6 @@ import '../universe/selector.dart' show Selector;
import '../universe/use.dart' show DynamicUse, StaticUse, TypeUse;
import '../universe/world_impact.dart' show WorldImpact, WorldImpactBuilder;
import '../util/enumset.dart' show EnumSet;
-import '../world.dart' show World;
import 'send_structure.dart';
@@ -170,10 +169,6 @@ class ResolutionRegistry extends Registry {
bool get isForResolution => true;
- ResolutionEnqueuer get world => compiler.enqueuer.resolution;
-
- World get universe => compiler.world;
-
Backend get backend => compiler.backend;
String toString() => 'ResolutionRegistry for ${mapping.analyzedElement}';
@@ -399,11 +394,6 @@ class ResolutionRegistry extends Registry {
return backend.defaultSuperclass(element);
}
- void registerMixinUse(
- MixinApplicationElement mixinApplication, ClassElement mixin) {
- universe.registerMixinUse(mixinApplication, mixin);
- }
-
void registerInstantiation(InterfaceType type) {
worldImpact.registerTypeUse(new TypeUse.instantiation(type));
}
« no previous file with comments | « pkg/compiler/lib/src/resolution/class_hierarchy.dart ('k') | pkg/compiler/lib/src/serialization/modelz.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698