X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fbe%2Fbechordal_draw.c;h=137eb2c019afc6683f44178dc8f1c08312016f58;hb=aeb2512867b942927b82c671464824de50d3980a;hp=6f4ef2f16dd0c500ed8193734444f77817b17418;hpb=2254965b85c90a6a96bcd742a02c45033c54523e;p=libfirm diff --git a/ir/be/bechordal_draw.c b/ir/be/bechordal_draw.c index 6f4ef2f16..137eb2c01 100644 --- a/ir/be/bechordal_draw.c +++ b/ir/be/bechordal_draw.c @@ -75,6 +75,7 @@ static int get_width(const plotter_t *_self) { } static void plotter_default_free(plotter_t *self) { + (void) self; } typedef struct { @@ -348,6 +349,8 @@ static color_t *reg_to_color(const draw_chordal_env_t *env, { int phi_arg = 0; const ir_edge_t *edge; + (void) env; + (void) rel_bl; foreach_out_edge(irn, edge) phi_arg |= is_Phi(edge->src); @@ -445,13 +448,16 @@ static void draw_block(ir_node *bl, void *data) static void draw(draw_chordal_env_t *env, const rect_t *start_box) { plotter_t *p = env->plotter; + be_lv_t *lv; rect_t bbox; bbox.x = bbox.y = 0; bbox.w = start_box->w + 2 * env->opts->x_margin; bbox.h = start_box->h + 2 * env->opts->y_margin; - be_assure_liveness(env->chordal_env->birg); + lv = be_assure_liveness(env->chordal_env->birg); + be_liveness_assure_sets(lv); + be_liveness_assure_chk(lv); p->vtab->begin(p, &bbox); irg_block_walk_graph(env->chordal_env->irg, draw_block, NULL, env);