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 00cd5b9d90eb3002b1b4fa9ba9c5aad40d4e52d7..16c882ac3274d7786dbf57624bdc633ae3dfdaee 100644 |
--- a/pkg/compiler/lib/src/js_backend/codegen/task.dart |
+++ b/pkg/compiler/lib/src/js_backend/codegen/task.dart |
@@ -175,6 +175,7 @@ class CpsFunctionCompiler implements FunctionCompiler { |
dumpTypedIR(cpsNode, typePropagator); |
applyCpsPass(new LoopInvariantCodeMotion()); |
applyCpsPass(new ShareInterceptors()); |
+ applyCpsPass(new ScalarReplacer(compiler)); |
applyCpsPass(new ShrinkingReducer()); |
applyCpsPass(new MutableVariableEliminator()); |
applyCpsPass(new RedundantJoinEliminator()); |