used new add_Block_phi()
authorMichael Beck <beck@ipd.info.uni-karlsruhe.de>
Mon, 26 May 2008 12:59:43 +0000 (12:59 +0000)
committerMichael Beck <beck@ipd.info.uni-karlsruhe.de>
Mon, 26 May 2008 12:59:43 +0000 (12:59 +0000)
[r19772]

ir/ir/irgmod.c

index f9a4f48..7616f60 100644 (file)
@@ -133,8 +133,7 @@ static void collect_phiprojs_walker(ir_node *n, void *env) {
 
        if (is_Phi(n)) {
                ir_node *block = get_nodes_block(n);
-               set_Phi_next(n, get_Block_phis(block));
-               set_Block_phis(block, n);
+               add_Block_phi(n, n);
        } else if (is_Proj(n)) {
                pred = n;
                do {