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

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

Issue 1408383006: Rename UniverseSelector to DynamicUse and move it to use.dart (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Updated cf. comments. Created 5 years, 1 month 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/common/codegen.dart ('k') | pkg/compiler/lib/src/dart_backend/backend.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/compiler/lib/src/common/registry.dart
diff --git a/pkg/compiler/lib/src/common/registry.dart b/pkg/compiler/lib/src/common/registry.dart
index d2cec53046d6573896a743ebc518e80b75a1a7b5..1ba7b9de5e14e406dd2eff75a6a6926b22f34a96 100644
--- a/pkg/compiler/lib/src/common/registry.dart
+++ b/pkg/compiler/lib/src/common/registry.dart
@@ -11,9 +11,8 @@ import '../enqueue.dart' show
import '../elements/elements.dart' show
Element,
FunctionElement;
-import '../universe/universe.dart' show
- UniverseSelector;
import '../universe/use.dart' show
+ DynamicUse,
StaticUse;
/// Interface for registration of element dependencies.
@@ -23,7 +22,7 @@ abstract class Registry {
bool get isForResolution;
- void registerDynamicUse(UniverseSelector staticUse);
+ void registerDynamicUse(DynamicUse staticUse);
void registerStaticUse(StaticUse staticUse);
@@ -40,8 +39,8 @@ class EagerRegistry extends Registry {
bool get isForResolution => world.isResolutionQueue;
@override
- void registerDynamicUse(UniverseSelector selector) {
- world.registerDynamicUse(selector);
+ void registerDynamicUse(DynamicUse dynamicUse) {
+ world.registerDynamicUse(dynamicUse);
}
@override
« no previous file with comments | « pkg/compiler/lib/src/common/codegen.dart ('k') | pkg/compiler/lib/src/dart_backend/backend.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698