Commit 1f4edb8c authored by Christoph Mallon's avatar Christoph Mallon
Browse files

Remove the unused function be_liveness_dump().

parent b3620e92
......@@ -140,28 +140,6 @@ void be_dump_liveness_block(be_lv_t *lv, FILE *F, const ir_node *bl)
}
}
typedef struct lv_walker_t {
be_lv_t *lv;
FILE *out;
} lv_walker_t;
static void lv_dump_block_walker(ir_node *irn, void *data)
{
lv_walker_t *w = (lv_walker_t*)data;
if (!is_Block(irn))
return;
be_dump_liveness_block(w->lv, w->out, irn);
}
void be_liveness_dump(FILE *F, const be_lv_t *lv)
{
lv_walker_t w;
w.lv = (be_lv_t *) lv;
w.out = F;
irg_block_walk_graph(lv->irg, lv_dump_block_walker, NULL, &w);
}
static void dump_bitmask(FILE *const F, char const *const ctx, unsigned mask)
{
fputs(ctx, F);
......
......@@ -28,13 +28,6 @@ void be_dump_ifg(FILE *F, ir_graph *irg, const be_ifg_t *ifg);
void be_dump_ifg_co(FILE *F, const copy_opt_t *co,
bool dump_costs, bool dump_colors);
/**
* Dump the liveness information for a graph.
* @param f The output.
* @param irg The graph.
*/
void be_liveness_dump(FILE *F, const be_lv_t *lv);
/**
* node_info hook that dumps liveness for blocks
*/
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment