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 c979290bb1b3fb19529bac879cf49f4e07b3a6b9..93a23205ba6a5a4558912dd0e566a3abd7c538ce 100644 |
--- a/pkg/compiler/lib/src/js_backend/codegen/task.dart |
+++ b/pkg/compiler/lib/src/js_backend/codegen/task.dart |
@@ -177,15 +177,15 @@ class CpsFunctionCompiler implements FunctionCompiler { |
applyCpsPass(typePropagator); |
dumpTypedIR(cpsNode, typePropagator); |
applyCpsPass(new RemoveRefinements()); |
- applyCpsPass(new LoopInvariantCodeMotion()); |
- applyCpsPass(new ShareInterceptors()); |
- applyCpsPass(new ScalarReplacer(compiler)); |
applyCpsPass(new ShrinkingReducer()); |
+ applyCpsPass(new ScalarReplacer(compiler)); |
applyCpsPass(new MutableVariableEliminator()); |
applyCpsPass(new RedundantJoinEliminator()); |
applyCpsPass(new RedundantPhiEliminator()); |
applyCpsPass(new ShrinkingReducer()); |
- applyCpsPass(new LetSinker()); |
+ applyCpsPass(new LoopInvariantCodeMotion()); |
+ applyCpsPass(new ShareInterceptors()); |
+ applyCpsPass(new ShrinkingReducer()); |
return cpsNode; |
} |