From f2688766c170a4194a958ee728bdf1e1a249d4d4 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Christian=20W=C3=BCrdig?= Date: Wed, 14 Mar 2007 18:13:45 +0000 Subject: [PATCH] removed some unused variables changed fprintf into DBG --- ir/be/beilpsched.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ir/be/beilpsched.c b/ir/be/beilpsched.c index d90d3f980..01dbd8777 100644 --- a/ir/be/beilpsched.c +++ b/ir/be/beilpsched.c @@ -772,7 +772,7 @@ static void apply_solution(be_ilpsched_env_t *env, lpp_t *lpp, ir_node *block) { double cost = lpp_get_var_sol(lpp, na->ilp_vars.y[cur_var]); if (! LPP_VALUE_IS_0(cost)) { - ir_fprintf(stderr, "\t\t%+F has additional regpressure costs of %f\n", irn, cost); + DBG((env->dbg, LEVEL_3, "%+F has additional regpressure costs of %f\n", irn, cost)); found = 1; } } @@ -1071,7 +1071,7 @@ static void create_variables(be_ilpsched_env_t *env, lpp_t *lpp, be_ilpsched_irn foreach_pset(ba->livein_nodes, livein) { be_ilpsched_irn_t *node; ilpsched_node_attr_t *na; - unsigned tp_idx, var_idx, max_alap; + unsigned tp_idx, var_idx; ir_node *irn; irn = livein->irn; @@ -1556,8 +1556,8 @@ static void create_alive_livein_nodes_constraint(be_ilpsched_env_t *env, lpp_t * /* for all unit types available for this node */ for (node_tp_idx = na->n_unit_types - 1; node_tp_idx >= 0; --node_tp_idx) { const ir_edge_t *edge; - unsigned tn, tn_max, idx; - int cst, i, num_block_user; + unsigned idx; + int cst, num_block_user; int *tmp_var_idx_m = NEW_ARR_F(int, 0); /* check the number of consumer scheduled so far */ -- 2.20.1