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

Unified Diff: tests/compiler/dart2js/mirror_helper_unique_minification_test.dart

Issue 448943004: Refactor and simplify the dart2dart renamer. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Rely (almost) only on Entity from renamer. Improve handling of privates and constructors. Avoid sor… Created 6 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: tests/compiler/dart2js/mirror_helper_unique_minification_test.dart
diff --git a/tests/compiler/dart2js/mirror_helper_unique_minification_test.dart b/tests/compiler/dart2js/mirror_helper_unique_minification_test.dart
index 9d1c3147f7286d0c6b8b5ad6a889d0c0125c2947..4f7763950a7385481122e36e3a3dd9a00949db79 100644
--- a/tests/compiler/dart2js/mirror_helper_unique_minification_test.dart
+++ b/tests/compiler/dart2js/mirror_helper_unique_minification_test.dart
@@ -37,7 +37,7 @@ void testUniqueMinification() {
then((Compiler compiler) {
DartBackend backend = compiler.backend;
MirrorRenamer mirrorRenamer = backend.mirrorRenamer;
- Map<Node, String> renames = backend.renames;
+ Map<Node, String> renames = backend.placeholderRenamer.renames;
Map<String, String> symbols = mirrorRenamer.symbols;
// Check that no two different source code names get the same mangled name,
@@ -63,7 +63,7 @@ void testNoUniqueMinification() {
asyncTest(() => runCompiler(useMirrorHelperLibrary: false, minify: true).
then((Compiler compiler) {
DartBackend backend = compiler.backend;
- Map<Node, String> renames = backend.renames;
+ Map<Node, String> renames = backend.placeholderRenamer.renames;
// 'Foo' appears twice and 'invocation' and 'hest' get the same mangled
// name.

Powered by Google App Engine
This is Rietveld 408576698