summaryrefslogtreecommitdiffhomepage
path: root/ir/be/bedump.c
diff options
context:
space:
mode:
authorChristoph Mallon <mallon@cs.uni-saarland.de>2015-07-19 23:25:02 +0200
committerChristoph Mallon <mallon@cs.uni-saarland.de>2015-07-19 23:35:36 +0200
commit1f4edb8ca5fd532c9c7507710f6b3c1f061ebc1b (patch)
treec1ad16c7545d0a171e51e7f03fa20b37fe9e8e36 /ir/be/bedump.c
parentb3620e92ca627d56ad03ab565bed9310512f1a59 (diff)
Remove the unused function be_liveness_dump().
Diffstat (limited to 'ir/be/bedump.c')
-rw-r--r--ir/be/bedump.c22
1 files changed, 0 insertions, 22 deletions
diff --git a/ir/be/bedump.c b/ir/be/bedump.c
index 9f8bb49..8157521 100644
--- a/ir/be/bedump.c
+++ b/ir/be/bedump.c
@@ -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);