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

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

Issue 1571433002: dart2js cps: Compute intercepted classes in optimize_interceptors. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: JSArray and JSInt are special Created 4 years, 11 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 33430beac5f2ff503e9b1ec66500c89b587e0c36..cc78836a070652d371184f3f71dd9a6b3db267e7 100644
--- a/pkg/compiler/lib/src/js_backend/codegen/task.dart
+++ b/pkg/compiler/lib/src/js_backend/codegen/task.dart
@@ -230,7 +230,7 @@ class CpsFunctionCompiler implements FunctionCompiler {
applyCpsPass(new RedundantJoinEliminator(), cpsFunction);
applyCpsPass(new RedundantPhiEliminator(), cpsFunction);
applyCpsPass(new ShrinkingReducer(), cpsFunction);
- applyCpsPass(new OptimizeInterceptors(backend), cpsFunction);
+ applyCpsPass(new OptimizeInterceptors(backend, typeSystem), cpsFunction);
applyCpsPass(new BackwardNullCheckRemover(typeSystem), cpsFunction);
applyCpsPass(new ShrinkingReducer(), cpsFunction);
});

Powered by Google App Engine
This is Rietveld 408576698