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

Unified Diff: lib/compiler/implementation/dart2js.dart

Issue 10414024: Add a flag to control the backend. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Next iteration Created 8 years, 7 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
Index: lib/compiler/implementation/dart2js.dart
diff --git a/lib/compiler/implementation/dart2js.dart b/lib/compiler/implementation/dart2js.dart
index c455e13dfdfce796f3c40ddbd5f75f10c1bed869..435d5b520693a8ee5553d546521b39949abad220 100644
--- a/lib/compiler/implementation/dart2js.dart
+++ b/lib/compiler/implementation/dart2js.dart
@@ -66,6 +66,7 @@ void compile(List<String> argv) {
List<OptionHandler> handlers = <OptionHandler>[
new OptionHandler('--throw-on-error', (_) => throwOnError = true),
new OptionHandler('--suppress-warnings', (_) => showWarnings = false),
+ new OptionHandler('--2dart', passThrough),
ahe 2012/05/21 15:38:55 I'm not too fond of the name of this option. How a
new OptionHandler('--verbose|-v', (_) => verbose = true),
new OptionHandler('--library-root=.+', (String argument) {
String path = nativeToUriPath(extractParameter(argument));
« lib/compiler/implementation/compiler.dart ('K') | « lib/compiler/implementation/compiler.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698