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

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

Issue 10905019: Separate Dart backend specific logic from basic Unparser. (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/dart_backend/backend.dart
diff --git a/lib/compiler/implementation/dart_backend/backend.dart b/lib/compiler/implementation/dart_backend/backend.dart
index b5a156dea054166c46b30d2ae34c4bedc50a449d..3bcb4a7cbb7b97ddfb73fbfb373c03c3a8076d36 100644
--- a/lib/compiler/implementation/dart_backend/backend.dart
+++ b/lib/compiler/implementation/dart_backend/backend.dart
@@ -155,9 +155,8 @@ class DartBackend extends Backend {
sortedClassMembers[classElement] = sortElements(members);
});
- final unparser = new Unparser.withRenamer((Node node) => renames[node]);
compiler.assembledCode = emitCode(
- compiler, unparser, imports, sortedTopLevels, sortedClassMembers);
+ compiler, renames, imports, sortedTopLevels, sortedClassMembers);
}
log(String message) => compiler.log('[DartBackend] $message');

Powered by Google App Engine
This is Rietveld 408576698