| Index: sdk/lib/_internal/compiler/implementation/mirrors_used.dart
|
| diff --git a/sdk/lib/_internal/compiler/implementation/mirrors_used.dart b/sdk/lib/_internal/compiler/implementation/mirrors_used.dart
|
| index 5285027c9335163caf7fec09806702d61210cdee..27d505cb42e966ca2059da76debe2514f2e1fd9e 100644
|
| --- a/sdk/lib/_internal/compiler/implementation/mirrors_used.dart
|
| +++ b/sdk/lib/_internal/compiler/implementation/mirrors_used.dart
|
| @@ -175,7 +175,7 @@ class MirrorUsageAnalyzer {
|
| /// compute which libraries have the annotation (which is used by
|
| /// [MirrorUsageAnalyzerTask.hasMirrorUsage]).
|
| void run() {
|
| - wildcard = compiler.libraries.values.toList();
|
| + wildcard = compiler.libraryLoader.libraries.toList();
|
| Map<LibraryElement, List<MirrorUsage>> usageMap =
|
| collectMirrorsUsedAnnotation();
|
| propagateOverrides(usageMap);
|
| @@ -195,7 +195,7 @@ class MirrorUsageAnalyzer {
|
| Map<LibraryElement, List<MirrorUsage>> collectMirrorsUsedAnnotation() {
|
| Map<LibraryElement, List<MirrorUsage>> result =
|
| new Map<LibraryElement, List<MirrorUsage>>();
|
| - 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();
|
| @@ -471,7 +471,7 @@ class MirrorUsageBuilder {
|
| String string = entry;
|
| LibraryElement libraryCandiate;
|
| String libraryNameCandiate;
|
| - for (LibraryElement l in compiler.libraries.values) {
|
| + for (LibraryElement l in compiler.libraryLoader.libraries) {
|
| if (l.hasLibraryName()) {
|
| String libraryName = l.getLibraryOrScriptName();
|
| if (string == libraryName) {
|
|
|