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