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..5d4ce85b4e39ba3548e03ba77c7de3163244d617 100644 |
--- a/pkg/compiler/lib/src/js_backend/codegen/task.dart |
+++ b/pkg/compiler/lib/src/js_backend/codegen/task.dart |
@@ -181,6 +181,7 @@ class CpsFunctionCompiler implements FunctionCompiler { |
assert(checkCpsIntegrity(cpsNode)); |
} |
+ applyCpsPass(new RedundantPhiEliminator()); |
TypePropagator typePropagator = new TypePropagator(compiler); |
applyCpsPass(typePropagator); |
dumpTypedIR(cpsNode, typePropagator); |