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

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

Issue 10901002: Hook up the --minify option in dart2js and use it to get rid of unnecessary whitespace inside funct… (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 4 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 7280dceac7158eae595518e697eaa541a6ce1070..772d3bc16986420dfe6f5decbecae7997c76225e 100644
--- a/lib/compiler/implementation/apiimpl.dart
+++ b/lib/compiler/implementation/apiimpl.dart
@@ -29,8 +29,8 @@ class Compiler extends leg.Compiler {
tracer: new ssa.HTracer(),
enableTypeAssertions: options.indexOf('--enable-checked-mode') != -1,
enableUserAssertions: options.indexOf('--enable-checked-mode') != -1,
+ enableMinification: options.indexOf('--minify') != -1,
emitJavascript: options.indexOf('--output-type=dart') == -1,
- minify: options.indexOf('--minify') != -1,
cutDeclarationTypes: options.indexOf('--cutDeclarationTypes') != -1);
elements.LibraryElement scanBuiltinLibrary(String path) {
« no previous file with comments | « no previous file | lib/compiler/implementation/compiler.dart » ('j') | lib/compiler/implementation/dart_backend/backend.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698