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

Unified Diff: pkg/compiler/lib/src/dump_info.dart

Issue 2997233002: Update defer loading algorithm: (Closed)
Patch Set: Created 3 years, 4 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: pkg/compiler/lib/src/dump_info.dart
diff --git a/pkg/compiler/lib/src/dump_info.dart b/pkg/compiler/lib/src/dump_info.dart
index f89bec3c3f0693f593298104b55efdd1fbaa4200..4990b7cccdac4c14971a543c8c0c50abcc4f620f 100644
--- a/pkg/compiler/lib/src/dump_info.dart
+++ b/pkg/compiler/lib/src/dump_info.dart
@@ -349,8 +349,7 @@ class ElementInfoCollector extends BaseElementVisitor<Info, dynamic> {
assert(outputUnit.name != null || outputUnit.isMainOutput);
OutputUnitInfo info = new OutputUnitInfo(
outputUnit.name, backend.emitter.emitter.generatedSize(outputUnit));
- info.imports.addAll(outputUnit.imports
- .map((d) => compiler.deferredLoadTask.importDeferName[d]));
+ info.imports.addAll(compiler.deferredLoadTask.getImportNames(outputUnit));
result.outputUnits.add(info);
return info;
});
« pkg/compiler/lib/src/deferred_load.dart ('K') | « pkg/compiler/lib/src/deferred_load.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698