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

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

Issue 368363002: dart2dart: Copy propagation in dart_tree. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Typo fix Created 6 years, 5 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 | « no previous file | sdk/lib/_internal/compiler/implementation/dart_backend/dart_tree.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/_internal/compiler/implementation/dart_backend/backend.dart
diff --git a/sdk/lib/_internal/compiler/implementation/dart_backend/backend.dart b/sdk/lib/_internal/compiler/implementation/dart_backend/backend.dart
index 8b168c1cf3882014c288ddd1a4403f3b7ff2fa15..18aaff06bbacfaf4cd4d98694ea19d88ab79e42d 100644
--- a/sdk/lib/_internal/compiler/implementation/dart_backend/backend.dart
+++ b/sdk/lib/_internal/compiler/implementation/dart_backend/backend.dart
@@ -237,10 +237,10 @@ class DartBackend extends Backend {
compiler.tracer.traceCompilation(element.name, null, compiler);
compiler.tracer.traceGraph('Tree builder', definition);
TreeElementMapping treeElements = new TreeElementMapping(element);
- new tree.CopyPropagateClosureVariables().rewrite(definition);
- compiler.tracer.traceGraph('Copy propagate closure vars', definition);
new tree.StatementRewriter().rewrite(definition);
compiler.tracer.traceGraph('Statement rewriter', definition);
+ new tree.CopyPropagator().rewrite(definition);
+ compiler.tracer.traceGraph('Copy propagation', definition);
new tree.LoopRewriter().rewrite(definition);
compiler.tracer.traceGraph('Loop rewriter', definition);
new tree.LogicalRewriter().rewrite(definition);
« no previous file with comments | « no previous file | sdk/lib/_internal/compiler/implementation/dart_backend/dart_tree.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698