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

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

Issue 1313783003: dart2js cps: Generate interceptors at use-site and share afterwards. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Revert patch #3. I read Golem results backwards. Created 5 years, 4 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 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());
« no previous file with comments | « pkg/compiler/lib/src/cps_ir/share_interceptors.dart ('k') | pkg/compiler/lib/src/js_backend/codegen/unsugar.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698