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

Unified Diff: pkg/compiler/lib/src/compiler.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/compiler.dart
diff --git a/pkg/compiler/lib/src/compiler.dart b/pkg/compiler/lib/src/compiler.dart
index 5667a4e8a195cb25286f316599d3369fdf2bc914..789cbe44f2a9575047200e06c240b2e33405d2db 100644
--- a/pkg/compiler/lib/src/compiler.dart
+++ b/pkg/compiler/lib/src/compiler.dart
@@ -850,12 +850,16 @@ abstract class Compiler implements LibraryLoaderListener {
mainMethod.computeType(resolution);
if (mainMethod.functionSignature.parameterCount != 0) {
// The first argument could be a list of strings.
- backend.listImplementation.ensureResolved(resolution);
+ backend.backendClasses.listImplementation
+ .ensureResolved(resolution);
backend.registerInstantiatedType(
- backend.listImplementation.rawType, world, globalDependencies);
- backend.stringImplementation.ensureResolved(resolution);
+ backend.backendClasses.listImplementation.rawType,
+ world,
+ globalDependencies);
+ backend.backendClasses.stringImplementation
+ .ensureResolved(resolution);
backend.registerInstantiatedType(
- backend.stringImplementation.rawType,
+ backend.backendClasses.stringImplementation.rawType,
world,
globalDependencies);

Powered by Google App Engine
This is Rietveld 408576698