Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1136)

Unified Diff: pkg/compiler/lib/src/js_backend/codegen/task.dart

Issue 1322403002: dart2js cps: Change interceptor pipeline. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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;
}
« no previous file with comments | « pkg/compiler/lib/src/cps_ir/type_propagation.dart ('k') | pkg/compiler/lib/src/tree_ir/optimization/statement_rewriter.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698