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

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

Issue 2381793003: Rename Universe to WorldBuilder. (Closed)
Patch Set: Created 4 years, 3 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/js_backend/enqueuer.dart
diff --git a/pkg/compiler/lib/src/js_backend/enqueuer.dart b/pkg/compiler/lib/src/js_backend/enqueuer.dart
index 484273d96e184ebcdbc33d8ce0f9f5f4f8f4b5dd..2dcacf205f6fbe6230182c29f9f20d45d8e40003 100644
--- a/pkg/compiler/lib/src/js_backend/enqueuer.dart
+++ b/pkg/compiler/lib/src/js_backend/enqueuer.dart
@@ -34,7 +34,7 @@ import '../native/native.dart' as native;
import '../options.dart';
import '../types/types.dart' show TypeMaskStrategy;
import '../universe/selector.dart' show Selector;
-import '../universe/universe.dart';
+import '../universe/world_builder.dart';
import '../universe/use.dart'
show DynamicUse, StaticUse, StaticUseKind, TypeUse, TypeUseKind;
import '../universe/world_impact.dart'
@@ -54,8 +54,8 @@ class CodegenEnqueuer implements Enqueuer {
new Map<String, Set<Element>>();
final Set<ClassElement> _processedClasses = new Set<ClassElement>();
Set<ClassElement> recentClasses = new Setlet<ClassElement>();
- final CodegenUniverseImpl _universe =
- new CodegenUniverseImpl(const TypeMaskStrategy());
+ final CodegenWorldBuilderImpl _universe =
+ new CodegenWorldBuilderImpl(const TypeMaskStrategy());
static final TRACE_MIRROR_ENQUEUING =
const bool.fromEnvironment("TRACE_MIRROR_ENQUEUING");
@@ -78,7 +78,7 @@ class CodegenEnqueuer implements Enqueuer {
impactVisitor = new _EnqueuerImpactVisitor(this);
}
- CodegenUniverse get universe => _universe;
+ CodegenWorldBuilder get universe => _universe;
Backend get backend => _compiler.backend;

Powered by Google App Engine
This is Rietveld 408576698