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

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

Issue 10332196: Start working on unparse validation. (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/apiimpl.dart
diff --git a/lib/compiler/implementation/apiimpl.dart b/lib/compiler/implementation/apiimpl.dart
index 2d59e644613aab356e9dbba658e097f3a5e8ae4b..1d738654e4d013cf66fcf035042afecff28849d8 100644
--- a/lib/compiler/implementation/apiimpl.dart
+++ b/lib/compiler/implementation/apiimpl.dart
@@ -27,7 +27,8 @@ class Compiler extends leg.Compiler {
super(
tracer: new ssa.HTracer(),
enableTypeAssertions: options.indexOf('--enable-checked-mode') != -1,
- emitJavascript: options.indexOf('--output-type=dart') == -1);
+ emitJavascript: options.indexOf('--output-type=dart') == -1,
+ validateUnparse: options.indexOf('--unparse-validation') !== -1);
elements.LibraryElement scanBuiltinLibrary(String path) {
Uri uri = libraryRoot.resolve(DART2JS_LIBRARY_MAP[path]);
« no previous file with comments | « no previous file | lib/compiler/implementation/compiler.dart » ('j') | lib/compiler/implementation/unparse_validator.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698