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

Unified Diff: sdk/lib/_internal/compiler/implementation/dart_backend/backend.dart

Issue 330913004: Move Compiler.libraries to LibraryLoader. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Fix compiler_isolate.dart Created 6 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
Index: sdk/lib/_internal/compiler/implementation/dart_backend/backend.dart
diff --git a/sdk/lib/_internal/compiler/implementation/dart_backend/backend.dart b/sdk/lib/_internal/compiler/implementation/dart_backend/backend.dart
index 23db145b5dc8fe928c7e8867df539d2e9e33aec8..efed84013bee879fb89711a7076be5d3ee44bc1e 100644
--- a/sdk/lib/_internal/compiler/implementation/dart_backend/backend.dart
+++ b/sdk/lib/_internal/compiler/implementation/dart_backend/backend.dart
@@ -162,7 +162,7 @@ class DartBackend extends Backend {
// however as of today there are problems with names of some core library
// interfaces, most probably for interfaces of literals.
final fixedMemberNames = new Set<String>();
- for (final library in compiler.libraries.values) {
+ for (final library in compiler.libraryLoader.libraries) {
if (!library.isPlatformLibrary) continue;
library.implementation.forEachLocalMember((Element element) {
if (element.isClass) {
@@ -446,7 +446,7 @@ class DartBackend extends Backend {
void logResultBundleSizeInfo(Set<Element> topLevelElements) {
Iterable<LibraryElement> referencedLibraries =
- compiler.libraries.values.where(isUserLibrary);
+ compiler.libraryLoader.libraries.where(isUserLibrary);
// Sum total size of scripts in each referenced library.
int nonPlatformSize = 0;
for (LibraryElement lib in referencedLibraries) {

Powered by Google App Engine
This is Rietveld 408576698