Commit 04b234fa authored by Matthias Braun's avatar Matthias Braun
Browse files

we must clear block+phi-node links

parent 1bfa7dee
......@@ -54,8 +54,11 @@ void firm_clear_node_and_phi_links(ir_node *n, void *env)
void firm_clear_block_phis(ir_node *node, void *env)
(void) env;
if (is_Block(node))
if (is_Block(node)) {
set_Block_phis(node, NULL);
} else if (is_Phi(node)) {
set_Phi_next(node, NULL);
void firm_collect_block_phis(ir_node *node, void *env)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment