Commit 89434d4d authored by Matthias Braun's avatar Matthias Braun
Browse files

liveness struct is always available

parent 91aae509
......@@ -126,8 +126,6 @@ static void dump_liveness_info_hook(void *context, FILE *F, const ir_node *node)
return;
be_lv_t *lv = be_get_irg_liveness(irg);
if (lv == NULL)
return;
if (!lv->sets_valid)
return;
......
......@@ -41,11 +41,8 @@ void be_assure_live_chk(ir_graph *irg)
void be_free_birg(ir_graph *irg)
{
be_irg_t *birg = be_birg_from_irg(irg);
if (birg->lv != NULL) {
be_liveness_free(birg->lv);
birg->lv = NULL;
}
be_liveness_free(birg->lv);
birg->lv = NULL;
obstack_free(&birg->obst, NULL);
irg->be_data = NULL;
......
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