| 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 73b6997279ddf13f3f1b37813e80325acf3b161d..f2c6c71bd43f08ed8e4a977ccd0cbcd6e6eee4ff 100644
|
| --- a/pkg/compiler/lib/src/dart_backend/backend.dart
|
| +++ b/pkg/compiler/lib/src/dart_backend/backend.dart
|
| @@ -159,10 +159,12 @@ class DartBackend extends Backend {
|
|
|
| // TODO(karlklose): enable type propagation for dart2dart when constant
|
| // types are correctly marked as instantiated (Issue 21880).
|
| - applyCpsPass(new TypePropagator(context.dartTypes,
|
| - context.constantSystem,
|
| - new UnitTypeSystem(),
|
| - context.internalError));
|
| + TypePropagator typePropagator = new TypePropagator(
|
| + context.dartTypes,
|
| + context.constantSystem,
|
| + new UnitTypeSystem(),
|
| + context.internalError);
|
| + applyCpsPass(typePropagator);
|
| applyCpsPass(new RedundantPhiEliminator());
|
| applyCpsPass(new ShrinkingReducer());
|
|
|
|
|