summaryrefslogtreecommitdiffhomepage
path: root/ir/be/bestate.c
diff options
context:
space:
mode:
authorMatthias Braun <matze@braunis.de>2011-06-20 19:47:51 +0200
committerMatthias Braun <matze@braunis.de>2011-06-21 20:05:11 +0200
commit8ccfe04ca59ff56fc32b2323b80cee2a5194694d (patch)
tree3b0173d80029bbf7cdedcd2c24792b495946c588 /ir/be/bestate.c
parent89ac4d2c92d3aa5fa50bac6944c3db6fb1e1fdd1 (diff)
fix more cparser warnings, cleanup some libcore code
Diffstat (limited to 'ir/be/bestate.c')
-rw-r--r--ir/be/bestate.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/ir/be/bestate.c b/ir/be/bestate.c
index 69e3e09..7f831ea 100644
--- a/ir/be/bestate.c
+++ b/ir/be/bestate.c
@@ -161,7 +161,7 @@ static void spill_phi(minibelady_env_t *env, ir_node *phi)
ir_graph *irg = get_irn_irg(phi);
ir_node *block = get_nodes_block(phi);
int arity = get_irn_arity(phi);
- ir_node **in = ALLOCAN(ir_node*, arity);
+ ir_node **phi_in = ALLOCAN(ir_node*, arity);
ir_node *dummy = new_r_Dummy(irg, mode_M);
ir_node *spill_to_kill = NULL;
spill_info_t *spill_info;
@@ -177,13 +177,13 @@ static void spill_phi(minibelady_env_t *env, ir_node *phi)
/* create a new phi-M with bad preds */
for (i = 0; i < arity; ++i) {
- in[i] = dummy;
+ phi_in[i] = dummy;
}
DBG((dbg, LEVEL_2, "\tcreate Phi-M for %+F\n", phi));
/* create a Phi-M */
- spill_info->spill = be_new_Phi(block, arity, in, mode_M, NULL);
+ spill_info->spill = be_new_Phi(block, arity, phi_in, mode_M, NULL);
sched_add_after(block, spill_info->spill);
if (spill_to_kill != NULL) {