Index: pkg/compiler/tool/perf.dart |
diff --git a/pkg/compiler/tool/perf.dart b/pkg/compiler/tool/perf.dart |
index 9ce1da91a56191eb680003c7a8f69ddec00bc592..ed6763b8e30c431fcd182e2d826d8e55c44352e9 100644 |
--- a/pkg/compiler/tool/perf.dart |
+++ b/pkg/compiler/tool/perf.dart |
@@ -367,7 +367,9 @@ class MyCompiler extends CompilerImpl { |
resolutionEnqueuer.applyImpact(computeImpactForLibrary(library)); |
}); |
- resolveLibraryMetadata(); |
+ if (commonElements.mirrorsLibrary != null) { |
+ resolveLibraryMetadata(); |
+ } |
reporter.log('Resolving...'); |
processQueue(resolutionEnqueuer, mainFunction, libraryLoader.libraries); |
resolutionEnqueuer.logSummary(reporter.log); |