X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fbe%2Fbeirg.c;h=5bdd854e1cb0122e020d06cb1b2b468be396b850;hb=fef8dc3eff6468d7d65485af8e1ac9884c504e1a;hp=36504b558df677c73056e623ff353c6c3af371cb;hpb=b482d88d58ce6517bbb6597aa04ffa86ade5f2c9;p=libfirm diff --git a/ir/be/beirg.c b/ir/be/beirg.c index 36504b558..5bdd854e1 100644 --- a/ir/be/beirg.c +++ b/ir/be/beirg.c @@ -29,26 +29,6 @@ #include "beirg.h" #include "absgraph.h" #include "belive.h" -#include "bedomfront.h" - -void be_assure_dom_front(ir_graph *irg) -{ - be_irg_t *birg = be_birg_from_irg(irg); - if (birg->dom_front != NULL) - return; - - birg->dom_front = be_compute_dominance_frontiers(birg->irg); -} - -void be_invalidate_dom_front(ir_graph *irg) -{ - be_irg_t *birg = be_birg_from_irg(irg); - if (birg->dom_front == NULL) - return; - - be_free_dominance_frontiers(birg->dom_front); - birg->dom_front = NULL; -} void be_invalidate_live_sets(ir_graph *irg) { @@ -77,13 +57,7 @@ void be_assure_live_chk(ir_graph *irg) void be_free_birg(ir_graph *irg) { be_irg_t *birg = be_birg_from_irg(irg); - free_execfreq(birg->exec_freq); - birg->exec_freq = NULL; - if (birg->dom_front != NULL) { - be_free_dominance_frontiers(birg->dom_front); - birg->dom_front = NULL; - } if (birg->lv != NULL) { be_liveness_free(birg->lv); birg->lv = NULL;