| 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 42e51c682ff7ed25d9c248e2a8532ac88bb5b9b8..8290021bdf0028a7fbe36f51529cd95fa63a8cb8 100644
|
| --- a/compiler/java/com/google/dart/compiler/CommandLineOptions.java
|
| +++ b/compiler/java/com/google/dart/compiler/CommandLineOptions.java
|
| @@ -16,10 +16,7 @@ import org.kohsuke.args4j.Option;
|
|
|
| import java.io.File;
|
| import java.util.ArrayList;
|
| -import java.util.Arrays;
|
| -import java.util.HashSet;
|
| import java.util.List;
|
| -import java.util.Set;
|
|
|
| /**
|
| * Options that can be specified on the command line.
|
| @@ -54,10 +51,6 @@ public class CommandLineOptions {
|
| usage = "Turn off type optimizations\n (for debugging)")
|
| private boolean disableTypeOptimizations = false;
|
|
|
| - @Option(name = "--generate-isolate-stubs", aliases = { "-generate-isolate-stubs" },
|
| - usage = "Classes to generate stubs\n (comma-separated list)")
|
| - private String generateIsolateStubs = null;
|
| -
|
| @Option(name = "--generate_source_maps",
|
| usage = "Generate source maps")
|
| private boolean generateSourceMaps = false;
|
| @@ -79,10 +72,6 @@ public class CommandLineOptions {
|
| usage = "Ignore unrecognized command line flags")
|
| private boolean ignoreUnrecognizedFlags = false;
|
|
|
| - @Option(name = "--isolate-stub-out", aliases = { "-isolate-stub-out" },
|
| - usage = "File to receive generated stub output")
|
| - private String isolateStubOutputFile = null;
|
| -
|
| @Option(name = "--jvm-metrics-detail",
|
| usage = "Display summary (default) or\n verbose metrics")
|
| private String jvmMetricDetail = "summary";
|
| @@ -139,8 +128,7 @@ public class CommandLineOptions {
|
| * Returns whether the option -check-only is provided.
|
| */
|
| public boolean checkOnly() {
|
| - return !deprecatedGenerateCode &&
|
| - getIsolateStubClasses().isEmpty();
|
| + return !deprecatedGenerateCode;
|
| }
|
|
|
| /**
|
| @@ -150,21 +138,6 @@ public class CommandLineOptions {
|
| return exposeCoreImpl;
|
| }
|
|
|
| - /**
|
| - * Returns the names of classes to generate stubs for.
|
| - */
|
| - public Set<String> getIsolateStubClasses() {
|
| - Set<String> set = new HashSet<String>();
|
| - if (generateIsolateStubs != null) {
|
| - set.addAll(Arrays.asList(generateIsolateStubs.split(",")));
|
| - }
|
| - return set;
|
| - }
|
| -
|
| - public String getIsolateStubOutputFile() {
|
| - return isolateStubOutputFile;
|
| - }
|
| -
|
| public String getJvmMetricOptions() {
|
| if (!showJvmMetrics) {
|
| return null;
|
|
|