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

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

Issue 2932883002: Add FrontendStrategy.commonElements and remove Backend.commonElements (Closed)
Patch Set: Created 3 years, 6 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
« no previous file with comments | « no previous file | pkg/compiler/lib/src/frontend_strategy.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/compiler/lib/src/compiler.dart
diff --git a/pkg/compiler/lib/src/compiler.dart b/pkg/compiler/lib/src/compiler.dart
index 36e0986bd7690fff99548dbf9a1da545ef125d9b..aba09ba9a34dcf7a1a0eff294b12e0d752c6a71e 100644
--- a/pkg/compiler/lib/src/compiler.dart
+++ b/pkg/compiler/lib/src/compiler.dart
@@ -203,7 +203,7 @@ abstract class Compiler {
: new ElementBackendStrategy(this);
_resolution = createResolution();
_elementEnvironment = frontendStrategy.elementEnvironment;
- _commonElements = new CommonElements(_elementEnvironment);
+ _commonElements = frontendStrategy.commonElements;
types = new Types(_resolution);
if (options.verbose) {
@@ -428,7 +428,7 @@ abstract class Compiler {
}
}
}
- backend.onLibrariesLoaded(loadedLibraries);
+ backend.onLibrariesLoaded(frontendStrategy.commonElements, loadedLibraries);
return loadedLibraries;
}
« no previous file with comments | « no previous file | pkg/compiler/lib/src/frontend_strategy.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698