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

Unified Diff: lib/compiler/implementation/ssa/codegen.dart

Issue 11265020: Minifying renamer for classes, methods and instance variables. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 2 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/ssa/codegen.dart
diff --git a/lib/compiler/implementation/ssa/codegen.dart b/lib/compiler/implementation/ssa/codegen.dart
index 09f624da902f16300122bbe88e5b5f642baab321..b2f5c7e3d089e48a09d57abc95b70851e8fadb12 100644
--- a/lib/compiler/implementation/ssa/codegen.dart
+++ b/lib/compiler/implementation/ssa/codegen.dart
@@ -102,7 +102,7 @@ class SsaCodeGeneratorTask extends CompilerTask {
// and needs to know if the method is overridden.
nativeEmitter.overriddenMethods.add(element);
StringBuffer buffer = new StringBuffer();
- String codeString = prettyPrint(codegen.body).toString();
+ String codeString = "${prettyPrint(codegen.body).toString()}";
floitsch 2012/10/25 08:42:40 why was this necessary?
erikcorry 2012/10/25 09:09:28 Whatever the reason was, it went away again.
native.generateMethodWithPrototypeCheckForElement(
compiler, buffer, element, codeString, parametersString);
js.Node nativeCode = new js.LiteralStatement(buffer.toString());

Powered by Google App Engine
This is Rietveld 408576698