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

Unified Diff: runtime/vm/flow_graph_optimizer.cc

Issue 16423005: IfConverted should unuse inputs of the join it removes. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 6 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
« no previous file with comments | « no previous file | tests/language/issue11087_vm_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/flow_graph_optimizer.cc
diff --git a/runtime/vm/flow_graph_optimizer.cc b/runtime/vm/flow_graph_optimizer.cc
index f22e386d6ceb6a8a7f31fef4b83d24f6b7ed63d0..4393bb330df34921fa147232c2f11d8ee99114d7 100644
--- a/runtime/vm/flow_graph_optimizer.cc
+++ b/runtime/vm/flow_graph_optimizer.cc
@@ -6299,6 +6299,7 @@ void IfConverter::Simplify(FlowGraph* flow_graph) {
// Update use lists to reflect changes in the graph.
phi->UnuseAllInputs();
branch->UnuseAllInputs();
+ block->UnuseAllInputs();
// The graph has changed. Recompute dominators and block orders after
// this pass is finished.
« no previous file with comments | « no previous file | tests/language/issue11087_vm_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698