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

Unified Diff: lib/compiler/implementation/ssa/codegen.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: Merge. 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
« no previous file with comments | « lib/compiler/implementation/js_backend/backend.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/compiler/implementation/ssa/codegen.dart
diff --git a/lib/compiler/implementation/ssa/codegen.dart b/lib/compiler/implementation/ssa/codegen.dart
index 63f0684f79bf10098d9e36e70f11d68c9d83ba1a..b377e5f30833e5189f225db2f4204481bfeff93a 100644
--- a/lib/compiler/implementation/ssa/codegen.dart
+++ b/lib/compiler/implementation/ssa/codegen.dart
@@ -78,7 +78,7 @@ class SsaCodeGeneratorTask extends CompilerTask {
return prettyPrint(fun, work.element);
});
}
-
+
void addTypeParameters(Element element,
List<js.Parameter> parameters,
Map<Element, String> parameterNames) {
@@ -88,7 +88,7 @@ class SsaCodeGeneratorTask extends CompilerTask {
String name = typeVariable.element.name.slowToString();
String prefix = '';
// Avoid collisions with real parameters of the method.
- do {
+ do {
name = JsNames.getValid('$prefix$name');
prefix = '\$$prefix';
} while (parameterNames.containsValue(name));
« no previous file with comments | « lib/compiler/implementation/js_backend/backend.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698