| Index: dart/compiler/java/com/google/dart/compiler/CommandLineOptions.java
|
| diff --git a/dart/compiler/java/com/google/dart/compiler/CommandLineOptions.java b/dart/compiler/java/com/google/dart/compiler/CommandLineOptions.java
|
| index 9afea27b3133a7721116a14da185816023ffcd77..aebc702dd8f0ef4ede6d22bd6695758eabcea4c8 100644
|
| --- a/dart/compiler/java/com/google/dart/compiler/CommandLineOptions.java
|
| +++ b/dart/compiler/java/com/google/dart/compiler/CommandLineOptions.java
|
| @@ -103,17 +103,6 @@ public class CommandLineOptions {
|
| usage = "Disable incremental compilation")
|
| private boolean noincremental = false;
|
|
|
| - private boolean optimize = false;
|
| -
|
| - /**
|
| - * Enables optimization of the generated javascript.
|
| - */
|
| - @Option(name = "--optimize", aliases = { "-optimize" },
|
| - usage = "Produce optimized code")
|
| - public void setOptimize(boolean optimize) {
|
| - this.optimize = optimize;
|
| - }
|
| -
|
| @Option(name = "--out",
|
| usage = "Write generated JavaScript to a file")
|
| private File outputFilename = null;
|
| @@ -239,13 +228,6 @@ public class CommandLineOptions {
|
| }
|
|
|
| /**
|
| - * Returns <code>true</code> if optimization is enabled.
|
| - */
|
| - public boolean shouldOptimize() {
|
| - return optimize;
|
| - }
|
| -
|
| - /**
|
| * Returns <code>true</code> if the compiler should print it's help message.
|
| */
|
| public boolean showHelp() {
|
| @@ -304,9 +286,6 @@ public class CommandLineOptions {
|
| @Option(name="--prof", usage = "Enable profiling")
|
| private boolean prof;
|
|
|
| - @Option(name = "--rhino", usage = "Use rhino as the javascript interpreter")
|
| - private boolean rhino = false;
|
| -
|
| /**
|
| * @return <code>true</code> if the program should compile but not execute.
|
| */
|
| @@ -324,14 +303,6 @@ public class CommandLineOptions {
|
| }
|
|
|
| /**
|
| - * @return <code>true</code> if rhino should be used as the runtime (default is to invoke d8)
|
| - */
|
| - @Override
|
| - public boolean useRhino() {
|
| - return rhino;
|
| - }
|
| -
|
| - /**
|
| * @return <code>true</code> to enable diagnostic output
|
| */
|
| @Override
|
|
|