Index: pkg/compiler/lib/src/js_backend/codegen/task.dart |
diff --git a/pkg/compiler/lib/src/js_backend/codegen/task.dart b/pkg/compiler/lib/src/js_backend/codegen/task.dart |
index 9ed2829ec069fccdb3105d29a79e8f5b79eb2b1e..964e64dc0d3871f5178bfd21ba0ce0459e510506 100644 |
--- a/pkg/compiler/lib/src/js_backend/codegen/task.dart |
+++ b/pkg/compiler/lib/src/js_backend/codegen/task.dart |
@@ -184,6 +184,8 @@ class CpsFunctionCompiler implements FunctionCompiler { |
TypePropagator typePropagator = new TypePropagator(compiler); |
applyCpsPass(typePropagator); |
dumpTypedIR(cpsNode, typePropagator); |
+ applyCpsPass(new ShrinkingReducer()); |
+ applyCpsPass(new RedundantJoinEliminator()); |
applyCpsPass(new RedundantPhiEliminator()); |
applyCpsPass(new ShrinkingReducer()); |