X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fana%2Firouts.c;h=52677292e74e948630cc597620089183c5986142;hb=353d7e60b88c73967aad11de1bc36acfec85d2b6;hp=0d2a5f9c3bc42fcfcddeaf05022576b58061fc99;hpb=d935aa267d00966c360931d2f0f43008030c0592;p=libfirm diff --git a/ir/ana/irouts.c b/ir/ana/irouts.c index 0d2a5f9c3..52677292e 100644 --- a/ir/ana/irouts.c +++ b/ir/ana/irouts.c @@ -24,13 +24,9 @@ * @date 1.2002 * @version $Id$ */ -#ifdef HAVE_CONFIG_H #include "config.h" -#endif -#ifdef HAVE_STRING_H #include -#endif #include "xmalloc.h" #include "irouts.h" @@ -266,8 +262,7 @@ void irg_out_block_walk(ir_node *node, for (i = 0, n = get_irn_n_outs(node); i < n; ++i) { ir_node *succ = get_irn_out(node, i); - if (get_irn_visited(succ) < get_irg_visited(current_ir_graph)) - irg_out_walk_2(succ, pre, post, env); + irg_out_block_walk2(succ, pre, post, env); } } else { @@ -431,7 +426,7 @@ static ir_def_use_edge *set_out_edges(ir_graph *irg, ir_def_use_edge *free) { * position 0, the Start block at position 1. This is necessary for * the out block walker. */ -static INLINE void fix_start_proj(ir_graph *irg) { +static inline void fix_start_proj(ir_graph *irg) { ir_node *startbl = get_irg_start_block(irg); if (get_Block_n_cfg_outs(startbl)) {