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

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

Issue 356573002: Revert "Move Compiler.libraries to LibraryLoder." (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 0ca7a05c9a0e0f0f138f46d7d7f4f0a1c6d3b871..d161ec809ffc411ff67fda9be6d7cb3dd3a742e2 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.libraryLoader.libraries) {
+ for (LibraryElement library in compiler.libraries.values) {
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.libraryLoader.libraries.forEach(retainMetadataOf);
+ compiler.libraries.values.forEach(retainMetadataOf);
for (Dependency dependency in metadataConstants) {
registerCompileTimeConstant(
dependency.constant, dependency.registry);
« no previous file with comments | « sdk/lib/_internal/compiler/implementation/enqueue.dart ('k') | sdk/lib/_internal/compiler/implementation/library_loader.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698