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

Unified Diff: pkg/kernel/bin/dump.dart

Issue 2931073002: Option to enable showOffsets in dump.dart. (Closed)
Patch Set: Created 3 years, 6 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/kernel/bin/dump.dart
diff --git a/pkg/kernel/bin/dump.dart b/pkg/kernel/bin/dump.dart
index 540142ae8d8a769a934923dca14a8ab0811b5a3e..4fa75e7fea8c1d40735f09636c51b81a044c7705 100755
--- a/pkg/kernel/bin/dump.dart
+++ b/pkg/kernel/bin/dump.dart
@@ -7,5 +7,6 @@ import 'package:kernel/kernel.dart';
main(args) {
var binary = loadProgramFromBinary(args[0]);
- writeProgramToText(binary, path: args[1]);
+ writeProgramToText(binary,
+ path: args[1], showOffsets: const bool.fromEnvironment("showOffsets"));
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698