Index: pkg/compiler/tool/perf.dart |
diff --git a/pkg/compiler/tool/perf.dart b/pkg/compiler/tool/perf.dart |
index 91fa32b6737683a7c270f1075a157f753a6a716b..4725014a8138b4396645ed1ee73c66602ac75bec 100644 |
--- a/pkg/compiler/tool/perf.dart |
+++ b/pkg/compiler/tool/perf.dart |
@@ -373,7 +373,7 @@ class MyCompiler extends CompilerImpl { |
// Note: we enqueue everything in the program so we measure generating |
// kernel for the entire code, not just what's reachable from main. |
libraryLoader.libraries.forEach((LibraryElement library) { |
- fullyEnqueueLibrary(library, enqueuer.resolution); |
+ enqueuer.resolution.applyImpact(computeImpactForLibrary(library)); |
}); |
if (deferredLoadTask.isProgramSplit) { |