From: Christoph Mallon Date: Tue, 27 Nov 2012 09:10:44 +0000 (+0100) Subject: irgwalk: Remove unnecessary skip_Id(). X-Git-Url: http://nsz.repo.hu/git/?a=commitdiff_plain;h=63c22f8a9964eaedaa6ab509de10cca18604709e;p=libfirm irgwalk: Remove unnecessary skip_Id(). n is produced by Id-skipping functions, so cannot be an Id node. --- diff --git a/ir/ir/irgwalk.c b/ir/ir/irgwalk.c index 11e7d3266..d158a906c 100644 --- a/ir/ir/irgwalk.c +++ b/ir/ir/irgwalk.c @@ -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); }