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

Unified Diff: pkg/compiler/lib/src/js_backend/constant_system_javascript.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/js_backend/constant_system_javascript.dart
diff --git a/pkg/compiler/lib/src/js_backend/constant_system_javascript.dart b/pkg/compiler/lib/src/js_backend/constant_system_javascript.dart
index e71746628a6b8409311848b9086a153903b8a109..7f86482fd595d79f5dd2fbe2706e5801d8b29bb7 100644
--- a/pkg/compiler/lib/src/js_backend/constant_system_javascript.dart
+++ b/pkg/compiler/lib/src/js_backend/constant_system_javascript.dart
@@ -265,8 +265,10 @@ class JavaScriptConstantSystem extends ConstantSystem {
@override
ConstantValue createType(Compiler compiler, DartType type) {
- return new TypeConstantValue(type,
- compiler.backend.typeImplementation.computeType(compiler.resolution));
+ return new TypeConstantValue(
+ type,
+ compiler.backend.backendClasses.typeImplementation
+ .computeType(compiler.resolution));
}
// Integer checks report true for -0.0, INFINITY, and -INFINITY. At

Powered by Google App Engine
This is Rietveld 408576698