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

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

Issue 330913004: Move Compiler.libraries to LibraryLoader. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: 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/js_backend/backend.dart
diff --git a/sdk/lib/_internal/compiler/implementation/js_backend/backend.dart b/sdk/lib/_internal/compiler/implementation/js_backend/backend.dart
index d161ec809ffc411ff67fda9be6d7cb3dd3a742e2..0ca7a05c9a0e0f0f138f46d7d7f4f0a1c6d3b871 100644
--- a/sdk/lib/_internal/compiler/implementation/js_backend/backend.dart
+++ b/sdk/lib/_internal/compiler/implementation/js_backend/backend.dart
@@ -1193,7 +1193,7 @@ class JavaScriptBackend extends Backend {
{'count': mirrorCount,
'total': totalMethodCount,
'percentage': percentage.round()});
- for (LibraryElement library in compiler.libraries.values) {
+ for (LibraryElement library in compiler.libraryLoader.libraries) {
if (library.isInternalLibrary) continue;
for (LibraryTag tag in library.tags) {
Import importTag = tag.asImport();
@@ -1924,7 +1924,7 @@ class JavaScriptBackend extends Backend {
if (mustRetainMetadata) {
compiler.log('Retaining metadata.');
- compiler.libraries.values.forEach(retainMetadataOf);
+ compiler.libraryLoader.libraries.forEach(retainMetadataOf);
for (Dependency dependency in metadataConstants) {
registerCompileTimeConstant(
dependency.constant, dependency.registry);

Powered by Google App Engine
This is Rietveld 408576698