From: Michael Beck Date: Tue, 21 Dec 2004 16:01:47 +0000 (+0000) Subject: removed C99 constructs X-Git-Url: http://nsz.repo.hu/git/?a=commitdiff_plain;h=fec8ae065e5b006ba15b5c3c6612ed582230d61b;p=libfirm removed C99 constructs --- diff --git a/ir/be/phistat.c b/ir/be/phistat.c index f05defa10..799b7b8a2 100644 --- a/ir/be/phistat.c +++ b/ir/be/phistat.c @@ -59,6 +59,7 @@ static void phi_stat_walker(ir_node *node, void *env) { /* type of argument */ for (i = 0; i < count; i++) { + ir_node *block_of_arg, *block_ith_pred; ir_node *arg = get_irn_n(node, i); if (iro_Const == get_irn_opcode(arg)) { @@ -66,8 +67,8 @@ static void phi_stat_walker(ir_node *node, void *env) { continue; } - ir_node *block_of_arg = get_nodes_block(arg); - ir_node *block_ith_pred = get_nodes_block(get_irn_n(get_nodes_block(node), i)); + block_of_arg = get_nodes_block(arg); + block_ith_pred = get_nodes_block(get_irn_n(get_nodes_block(node), i)); if (block_of_arg == block_ith_pred) { curr_vals[I_PRED]++;