irgwalk: Remove unnecessary skip_Id().
authorChristoph Mallon <christoph.mallon@gmx.de>
Tue, 27 Nov 2012 09:10:44 +0000 (10:10 +0100)
committerChristoph Mallon <christoph.mallon@gmx.de>
Tue, 27 Nov 2012 10:16:16 +0000 (11:16 +0100)
n is produced by Id-skipping functions, so cannot be an Id node.

ir/ir/irgwalk.c

index 11e7d32..d158a90 100644 (file)
@@ -281,7 +281,6 @@ void irg_walk_in_or_dep_graph(ir_graph *irg, irg_walk_func *pre, irg_walk_func *
 static ir_node *get_cf_op(ir_node *n)
 {
        while (!is_cfop(n) && !is_fragile_op(n) && !is_Bad(n)) {
-               n = skip_Id(n);
                n = skip_Tuple(n);
                n = skip_Proj(n);
        }