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

Unified Diff: pkg/compiler/lib/src/cps_ir/insert_refinements.dart

Issue 1409483002: dart2js cps: Speed up CPS IR integrity checker. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 2 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/cps_ir/insert_refinements.dart
diff --git a/pkg/compiler/lib/src/cps_ir/insert_refinements.dart b/pkg/compiler/lib/src/cps_ir/insert_refinements.dart
index e9a03642c1fbef3cc353c000f66882a983514eda..3b545c6968d1305afc378107e211f3efd92ee109 100644
--- a/pkg/compiler/lib/src/cps_ir/insert_refinements.dart
+++ b/pkg/compiler/lib/src/cps_ir/insert_refinements.dart
@@ -60,7 +60,6 @@ class InsertRefinements extends TrampolineRecursiveVisitor implements Pass {
// Create a new LetCont binding only this continuation.
let.continuations.remove(cont);
let = new LetCont(cont, null);
- cont.parent = let;
} else {
let.remove(); // Reuse the existing LetCont.
}
@@ -83,7 +82,6 @@ class InsertRefinements extends TrampolineRecursiveVisitor implements Pass {
refined.destroy();
} else {
LetPrim let = new LetPrim(refined);
- refined.parent = let;
let.insertBelow(cont);
}
});
« no previous file with comments | « pkg/compiler/lib/src/cps_ir/cps_ir_integrity.dart ('k') | pkg/compiler/lib/src/js_backend/codegen/task.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698