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

Unified Diff: compiler/java/com/google/dart/compiler/CommandLineOptions.java

Issue 8905021: Dartest CL - Please review (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: '' Created 9 years 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: compiler/java/com/google/dart/compiler/CommandLineOptions.java
===================================================================
--- compiler/java/com/google/dart/compiler/CommandLineOptions.java (revision 2358)
+++ compiler/java/com/google/dart/compiler/CommandLineOptions.java (working copy)
@@ -73,13 +73,13 @@
usage = "Generate source maps")
private boolean generateSourceMaps = false;
- @Option(name = "--dump-ast-format", aliases={"-dump-ast-format"},
+ @Option(name = "--dump_ast_format",
usage = "Dump parse tree. Supported formats include console, text or dot")
private String dumpAST = "";
- @Option(name = "--coverage-instrumenter", aliases={"-coverage-instrumentor"},
- usage = "Add coverage instrumentation probes")
- private boolean coverage = false;
+ @Option(name = "--coverage_type",
+ usage = "Add instrumentation probes for collecting coverage. Supported types include function, statement and branch")
pdr 2011/12/16 17:00:50 Note: tabs
shauvik 2011/12/16 17:57:06 Done.
+ private String coverage = "";
@Option(name = "--human-readable-output",
usage = "Write human readable javascript")
@@ -259,7 +259,7 @@
return dumpAST;
}
- public boolean instrument4Coverage(){
+ public String getCoverageType(){
return coverage;
}

Powered by Google App Engine
This is Rietveld 408576698