Index: compiler/java/com/google/dart/compiler/CommandLineOptions.java |
diff --git a/compiler/java/com/google/dart/compiler/CommandLineOptions.java b/compiler/java/com/google/dart/compiler/CommandLineOptions.java |
index 8429f18f1ae17ed35f5a80f33c9ea2b4deda064c..ba166cdec016c93f57b8b65d269b6c8885d2b0dc 100644 |
--- a/compiler/java/com/google/dart/compiler/CommandLineOptions.java |
+++ b/compiler/java/com/google/dart/compiler/CommandLineOptions.java |
@@ -30,10 +30,6 @@ public class CommandLineOptions { |
usage = "Batch mode (for unit testing)") |
private boolean batch = false; |
- @Option(name = "--deprecated-generate-code", |
- usage = "Use deprecated code generation.\n Will be removed 1 March 2012.") |
- private boolean deprecatedGenerateCode = false; |
- |
@Option(name = "--expose_core_impl", usage = "Automatic import of dart:coreimpl library") |
private boolean exposeCoreImpl = false; |
@@ -57,11 +53,6 @@ public class CommandLineOptions { |
usage = "Dump parse tree. Supported formats include console, text or dot") |
private String dumpAST = ""; |
- @Option(name = "--coverage_type", |
- usage = "Add instrumentation probes for collecting coverage. " + |
- "Supported types include function, statement, branch and all") |
- private String coverage = ""; |
- |
@Option(name = "--human-readable-output", |
zundel
2012/02/28 20:37:21
this can go too
scheglov
2012/02/29 22:46:41
Done.
|
usage = "Write human readable javascript") |
private boolean generateHumanReadableOutput = false; |
@@ -96,10 +87,6 @@ public class CommandLineOptions { |
usage = "Enable incremental compilation") |
private boolean incremental = false; |
- @Option(name = "--out", |
- usage = "Write generated JavaScript to a file") |
- private File outputFilename = null; |
- |
// TODO(zundel): -out is for backward compatibility until scripts are updated |
@Option(name = "--work", aliases = { "-out" }, |
usage = "Directory to receive compiler output\n for future incremental builds") |
@@ -129,13 +116,6 @@ public class CommandLineOptions { |
private final List<String> sourceFiles = new ArrayList<String>(); |
/** |
- * Returns whether the only analysis should be done, without code generation. |
- */ |
- public boolean checkOnly() { |
- return !deprecatedGenerateCode; |
- } |
- |
- /** |
* @return <code>true</code> to automatically import dart:coreimpl |
*/ |
public boolean shouldExposeCoreImpl() { |
@@ -194,17 +174,6 @@ public class CommandLineOptions { |
return dumpAST; |
} |
- public String getCoverageType(){ |
- return coverage; |
- } |
- |
- /** |
- * @return the path to receive compiler output. |
- */ |
- public File getOutputFilename() { |
- return outputFilename; |
- } |
- |
/** |
* Returns <code>true</code> if the compiler should print it's help message. |
*/ |