summaryrefslogtreecommitdiffhomepage
path: root/ir/be/belive.c
diff options
context:
space:
mode:
authorMatthias Braun <matze@braunis.de>2012-11-27 14:53:54 +0100
committerMatthias Braun <matze@braunis.de>2012-11-28 11:27:12 +0100
commit555593b0aebec433b871920acc2b0a869b072055 (patch)
tree1caa6fac4f8b6bfdbd14b7445965fc7f780fcea1 /ir/be/belive.c
parentd1b0f2c0884f29cea4c5b260a6d1f8e865e3f7cf (diff)
rework liveness dumper
- some code cleanup - avoids the case where 2 dumpers are registered
Diffstat (limited to 'ir/be/belive.c')
-rw-r--r--ir/be/belive.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/ir/be/belive.c b/ir/be/belive.c
index 3ccd831..c1123a6 100644
--- a/ir/be/belive.c
+++ b/ir/be/belive.c
@@ -42,7 +42,6 @@
#include "belive_t.h"
#include "besched.h"
#include "bemodule.h"
-#include "bedump.h"
DEBUG_ONLY(static firm_dbg_module_t *dbg = NULL;)
@@ -414,7 +413,6 @@ void be_liveness_compute_sets(be_lv_t *lv)
DEL_ARR_F(nodes);
free(re.visited);
- register_hook(hook_node_info, &lv->hook_info);
be_timer_pop(T_LIVE);
@@ -432,7 +430,6 @@ void be_liveness_invalidate_sets(be_lv_t *lv)
{
if (!lv->sets_valid)
return;
- unregister_hook(hook_node_info, &lv->hook_info);
obstack_free(&lv->obst, NULL);
ir_nodehashmap_destroy(&lv->map);
lv->sets_valid = false;
@@ -453,8 +450,6 @@ be_lv_t *be_liveness_new(ir_graph *irg)
be_lv_t *lv = XMALLOCZ(be_lv_t);
lv->irg = irg;
- lv->hook_info.context = lv;
- lv->hook_info.hook._hook_node_info = be_dump_liveness_block;
return lv;
}