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

Unified Diff: pkg/compiler/lib/src/constant_system_dart.dart

Issue 2370833002: Replace ClosedWorld.backend with ClosedWorld.backendClasses (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/constant_system_dart.dart
diff --git a/pkg/compiler/lib/src/constant_system_dart.dart b/pkg/compiler/lib/src/constant_system_dart.dart
index c42ca748c0736ebfbaae9e363b52bab36a1df7c2..0f9a0d6225185ee4b6755eb6473fe564bc29324c 100644
--- a/pkg/compiler/lib/src/constant_system_dart.dart
+++ b/pkg/compiler/lib/src/constant_system_dart.dart
@@ -446,8 +446,10 @@ class DartConstantSystem extends ConstantSystem {
// TODO(johnniwinther): Change the `Type` type to
// `compiler.coreTypes.typeType` and check the backend specific value in
// [checkConstMapKeysDontOverrideEquals] in 'members.dart'.
- return new TypeConstantValue(type,
- compiler.backend.typeImplementation.computeType(compiler.resolution));
+ return new TypeConstantValue(
+ type,
+ compiler.backend.backendClasses.typeImplementation
+ .computeType(compiler.resolution));
}
@override

Powered by Google App Engine
This is Rietveld 408576698