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 9c4658c21b4d5f002cab4b55fe401b9a07a8145b..87f408ab138819283513a34e8cc542864793a5b2 100644 |
--- a/pkg/compiler/lib/src/js_backend/codegen/task.dart |
+++ b/pkg/compiler/lib/src/js_backend/codegen/task.dart |
@@ -186,6 +186,7 @@ class CpsFunctionCompiler implements FunctionCompiler { |
applyCpsPass(typePropagator); |
dumpTypedIR(cpsNode, typePropagator); |
applyCpsPass(new ShrinkingReducer()); |
+ applyCpsPass(new MutableVariableEliminator()); |
applyCpsPass(new RedundantJoinEliminator()); |
applyCpsPass(new RedundantPhiEliminator()); |
applyCpsPass(new ShrinkingReducer()); |