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

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

Issue 1403073002: include entrypoint in dump_info (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 2 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 | « DEPS ('k') | tools/deps/dartium.deps/DEPS » ('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 5cba0f98159aad5b2a610f235e696be43dfaf38c..22fa2f03848a1aaba76d19668d30fb5f8297d5a1 100644
--- a/pkg/compiler/lib/src/dump_info.dart
+++ b/pkg/compiler/lib/src/dump_info.dart
@@ -347,7 +347,7 @@ class Selection {
/// Interface used to record information from different parts of the compiler so
/// we can emit them in the dump-info task.
-// TODO(sigmund,het): move more features here. Ideallly the dump-info task
+// TODO(sigmund,het): move more features here. Ideally the dump-info task
// shouldn't reach into internals of other parts of the compiler. For example,
// we currently reach into the full emitter and as a result we don't support
// dump-info when using the startup-emitter (issue #24190).
@@ -555,6 +555,7 @@ class DumpInfoTask extends CompilerTask implements InfoReporter {
result.deferredFiles = compiler.deferredLoadTask.computeDeferredMap();
stopwatch.stop();
result.program = new ProgramInfo(
+ entrypoint: infoCollector._elementToInfo[compiler.mainFunction],
size: _programSize,
dart2jsVersion: compiler.hasBuildId ? compiler.buildId : null,
compilationMoment: new DateTime.now(),
« no previous file with comments | « DEPS ('k') | tools/deps/dartium.deps/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698