X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fbe%2Fbechordal.c;h=dc5d788671682d69c0f3acdc25e7f620444b9a58;hb=77e6a4f401d0e71efffde770d7517ba2982bdb3a;hp=04f73f41c32023b7d8771d7c0ba2d039f9febb16;hpb=a920b7cff216fb0ef8c0673c0cac051bbc24218e;p=libfirm diff --git a/ir/be/bechordal.c b/ir/be/bechordal.c index 04f73f41c..dc5d78867 100644 --- a/ir/be/bechordal.c +++ b/ir/be/bechordal.c @@ -518,6 +518,7 @@ static ir_node *handle_constraints(be_chordal_alloc_env_t *alloc_env, ir_node *res = insn->next_insn; int be_silent = *silent; be_irg_t *birg = env->birg; + bipartite_t *bp; if(insn->pre_colored) { int i; @@ -550,7 +551,7 @@ static ir_node *handle_constraints(be_chordal_alloc_env_t *alloc_env, bs = bitset_alloca(n_regs); alloc_nodes = alloca(n_regs * sizeof(alloc_nodes[0])); //bp = hungarian_new(n_regs, n_regs, 2, HUNGARIAN_MATCH_PERFECT); - bipartite_t *bp = bipartite_new(n_regs, n_regs); + bp = bipartite_new(n_regs, n_regs); assignment = alloca(n_regs * sizeof(assignment[0])); partners = pmap_create();