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

Unified Diff: pkg/compiler/lib/src/types/masks.dart

Issue 2488353004: Remove Compiler access from ResolutionEnqueuer (Closed)
Patch Set: Created 4 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
Index: pkg/compiler/lib/src/types/masks.dart
diff --git a/pkg/compiler/lib/src/types/masks.dart b/pkg/compiler/lib/src/types/masks.dart
index 857755874582af9790cd26b5ac9ffde06497751b..5cbc4c06dd4df6cc21b90139b16c48b01614fad6 100644
--- a/pkg/compiler/lib/src/types/masks.dart
+++ b/pkg/compiler/lib/src/types/masks.dart
@@ -33,11 +33,9 @@ part 'value_type_mask.dart';
class CommonMasks {
// TODO(sigmund): once we split out the backend common elements, depend
// directly on those instead.
- final Compiler compiler;
+ final ClosedWorld closedWorld;
- CommonMasks(this.compiler);
-
- ClosedWorld get closedWorld => compiler.closedWorld;
+ CommonMasks(this.closedWorld);
BackendClasses get backendClasses => closedWorld.backendClasses;

Powered by Google App Engine
This is Rietveld 408576698