X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;ds=sidebyside;f=ir%2Fbe%2Fbecopyopt.c;h=e9e0e9cc9bb524c2041d4d221d97577fccd0de5f;hb=51a7dbfd76da23a3f8b927d1113b95545ef43b8b;hp=081c49907571a0bb869bab384276812692cfec09;hpb=ce6161a7e42a48f7422b7babcc64d8ace18e2687;p=libfirm diff --git a/ir/be/becopyopt.c b/ir/be/becopyopt.c index 081c49907..e9e0e9cc9 100644 --- a/ir/be/becopyopt.c +++ b/ir/be/becopyopt.c @@ -194,7 +194,7 @@ DEBUG_ONLY(static firm_dbg_module_t *dbg = NULL;) copy_opt_t *new_copy_opt(be_chordal_env_t *chordal_env, cost_fct_t get_costs) { const char *s1, *s2, *s3; - int len; + size_t len; copy_opt_t *co; FIRM_DBG_REGISTER(dbg, "ir.be.copyopt"); @@ -308,7 +308,7 @@ static int ou_max_ind_set_costs(unit_t *ou) ir_node **safe, **unsafe; int i, o, safe_count, safe_costs, unsafe_count, *unsafe_costs; bitset_t *curr; - unsigned pos; + size_t pos; int curr_weight, best_weight = 0; /* assign the nodes into two groups. @@ -344,7 +344,7 @@ static int ou_max_ind_set_costs(unit_t *ou) /* now compute the best set out of the unsafe nodes*/ if (unsafe_count > MIS_HEUR_TRIGGER) { bitset_t *best = bitset_alloca(unsafe_count); - /* Heuristik: Greedy trial and error form index 0 to unsafe_count-1 */ + /* Heuristic: Greedy trial and error form index 0 to unsafe_count-1 */ for (i=0; i