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

Unified Diff: lib/compiler/implementation/dart_backend/backend.dart

Issue 10919033: Rework Unparser/unparse StringBuffer management. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 3 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/dart_backend/backend.dart
diff --git a/lib/compiler/implementation/dart_backend/backend.dart b/lib/compiler/implementation/dart_backend/backend.dart
index 7cdfcbdb3235755526b796cf799b08f71a01d0a4..30c9d680853822ecb0120563e0967061cc377320 100644
--- a/lib/compiler/implementation/dart_backend/backend.dart
+++ b/lib/compiler/implementation/dart_backend/backend.dart
@@ -181,8 +181,8 @@ class DartBackend extends Backend {
}
final unparser = new Unparser.withRenamer((Node node) => renames[node]);
- compiler.assembledCode = emitCode(
- compiler, unparser, imports, sortedTopLevels, sortedClassMembers);
+ emitCode(compiler, unparser, imports, sortedTopLevels, sortedClassMembers);
+ compiler.assembledCode = unparser.result;
}
log(String message) => compiler.log('[DartBackend] $message');
« no previous file with comments | « no previous file | lib/compiler/implementation/dart_backend/emitter.dart » ('j') | lib/compiler/implementation/tree/nodes.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698