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

Unified Diff: editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/snapshot/SnapshotCompiler.java

Issue 16673006: Fix for issue 11112 align flags to formats used by other tools. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 6 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 | runtime/bin/main.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/snapshot/SnapshotCompiler.java
===================================================================
--- editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/snapshot/SnapshotCompiler.java (revision 23778)
+++ editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/snapshot/SnapshotCompiler.java (working copy)
@@ -36,9 +36,9 @@
* the token stream, generated from parsing the code. It can decrease application load time by a
* factor of 10x.
* <p>
- * To generate a snapshot: dart --generate-script-snapshot=foo.snapshot foo.dart
+ * To generate a snapshot: dart --snapshot=foo.snapshot foo.dart
* <p>
- * To use a snapshot: dart --use-script-snapshot=foo.snapshot foo.dart
+ * To use a snapshot: dart foo.snapshot
*
* @see http://www.dartlang.org/articles/snapshots/
*/
@@ -81,7 +81,7 @@
List<String> args = new ArrayList<String>();
args.add(DartSdkManager.getManager().getSdk().getVmExecutable().getPath());
- args.add("--generate-script-snapshot=" + destFile.getPath());
+ args.add("--snapshot=" + destFile.getPath());
args.add(sourceFile.getPath());
builder.command(args);
« no previous file with comments | « no previous file | runtime/bin/main.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698