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

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

Issue 831343003: Add deferred map info to dump-info. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Added minor version. Created 5 years, 11 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
« no previous file with comments | « no previous file | tests/compiler/dart2js/deferred_load_mapping_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 b2442b911157e36f8f31120342e2c09a77ccf7f3..c92ea25f36065b638010032b889b5239753d0449 100644
--- a/pkg/compiler/lib/src/dump_info.dart
+++ b/pkg/compiler/lib/src/dump_info.dart
@@ -639,6 +639,10 @@ class DumpInfoTask extends CompilerTask {
'holding': holding,
'outputUnits': outputUnits,
'dump_version': 3,
+ 'deferredFiles': compiler.deferredLoadTask.computeDeferredMap(),
+ // This increases when new information is added to the map, but the viewer
+ // still is compatible.
+ 'dump_minor_version': '1'
};
Duration toJsonDuration = new DateTime.now().difference(startToJsonTime);
« no previous file with comments | « no previous file | tests/compiler/dart2js/deferred_load_mapping_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698