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

Unified Diff: pkg/compiler/lib/src/common/codegen.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 | « no previous file | pkg/compiler/lib/src/common/registry.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/compiler/lib/src/common/codegen.dart
diff --git a/pkg/compiler/lib/src/common/codegen.dart b/pkg/compiler/lib/src/common/codegen.dart
index f702c2ee05f61ef471f42a0419e447643ff623db..c20c45fe88d9b6bd67b08cd1d673c53c20914b7b 100644
--- a/pkg/compiler/lib/src/common/codegen.dart
+++ b/pkg/compiler/lib/src/common/codegen.dart
@@ -22,9 +22,8 @@ import '../enqueue.dart' show
CodegenEnqueuer;
import '../resolution/tree_elements.dart' show
TreeElements;
-import '../universe/universe.dart' show
- UniverseSelector;
import '../universe/use.dart' show
+ DynamicUse,
StaticUse;
import '../universe/world_impact.dart' show
WorldImpact,
@@ -185,9 +184,9 @@ class CodegenRegistry extends Registry {
worldImpact.registerStaticUse(staticUse);
}
- void registerDynamicUse(UniverseSelector selector) {
- worldImpact.registerDynamicUse(selector);
- compiler.dumpInfoTask.elementUsesSelector(currentElement, selector);
+ void registerDynamicUse(DynamicUse dynamicUse) {
+ worldImpact.registerDynamicUse(dynamicUse);
+ compiler.dumpInfoTask.elementUsesSelector(currentElement, dynamicUse);
}
void registerIsCheck(DartType type) {
« no previous file with comments | « no previous file | pkg/compiler/lib/src/common/registry.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698