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

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

Issue 9384013: Remove DartIsolateStubGenerator. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 10 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 | compiler/java/com/google/dart/compiler/CompilerConfiguration.java » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « no previous file | compiler/java/com/google/dart/compiler/CompilerConfiguration.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698