From: Matthias Braun Date: Mon, 26 Apr 2010 08:28:43 +0000 (+0000) Subject: add a note so the next person doesn't have to dig so long anymore X-Git-Url: http://nsz.repo.hu/git/?a=commitdiff_plain;h=320595b2d2f4b0bc4f7bea706c9c575146607dbf;p=libfirm add a note so the next person doesn't have to dig so long anymore [r27440] --- diff --git a/ir/be/bechordal.c b/ir/be/bechordal.c index 25e7227fc..6c5735b0d 100644 --- a/ir/be/bechordal.c +++ b/ir/be/bechordal.c @@ -332,6 +332,7 @@ static ir_node *handle_constraints(be_chordal_alloc_env_t *alloc_env, match_res = hungarian_solve(bp, assignment, &cost, 1); assert(match_res == 0 && "matching failed"); #else + bipartite_dump_f(stderr, bp); bipartite_matching(bp, assignment); #endif @@ -340,7 +341,7 @@ static ir_node *handle_constraints(be_chordal_alloc_env_t *alloc_env, const arch_register_t *reg; ir_node *irn; - assert(assignment[i] >= 0 && "there must have been a register assigned"); + assert(assignment[i] >= 0 && "there must have been a register assigned (node not register pressure faithfull?)"); reg = arch_register_for_index(env->cls, assignment[i]); assert(! (reg->type & arch_register_type_ignore));