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

Unified Diff: pkg/compiler/lib/src/dart_backend/backend.dart

Issue 800433003: First version of typr propagation in the new IR. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Rename constant_propagation.dart to type_propagation.dart. Created 6 years 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: pkg/compiler/lib/src/dart_backend/backend.dart
diff --git a/pkg/compiler/lib/src/dart_backend/backend.dart b/pkg/compiler/lib/src/dart_backend/backend.dart
index a3d7d152f0e6cfaab76161beee35f6bc1b7f49d3..6f8ba84712b2400534f94c4bf9a6a4821d305ded 100644
--- a/pkg/compiler/lib/src/dart_backend/backend.dart
+++ b/pkg/compiler/lib/src/dart_backend/backend.dart
@@ -146,7 +146,8 @@ class DartBackend extends Backend {
}
}
- new ConstantPropagator(compiler, constantSystem).rewrite(cpsDefinition);
+ new TypePropagator(compiler, constantSystem, new TypeMaskSystem(compiler),
+ compiler.internalError).rewrite(cpsDefinition);
traceGraph("Sparse constant propagation", cpsDefinition);
new RedundantPhiEliminator().rewrite(cpsDefinition);
traceGraph("Redundant phi elimination", cpsDefinition);
« no previous file with comments | « pkg/compiler/lib/src/cps_ir/type_propagation.dart ('k') | pkg/compiler/lib/src/js_backend/codegen/glue.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698