Commit c2fd09eb authored by Matthias Braun's avatar Matthias Braun
Browse files

debug output wasn't always initialized properly

[r27330]
parent 671ced67
......@@ -581,12 +581,13 @@ int opt_tail_rec_irg(ir_graph *irg)
ir_type *mtd_type, *call_type;
ir_entity *ent;
FIRM_DBG_REGISTER(dbg, "firm.opt.tailrec");
assure_irg_outs(irg);
if (! check_lifetime_of_locals(irg))
return 0;
ent = get_irg_entity(irg);
mtd_type = get_entity_type(ent);
n_ress = get_method_n_ress(mtd_type);
......@@ -721,8 +722,6 @@ void opt_tail_recursion(void)
int n_opt_applications = 0;
ir_graph *irg;
FIRM_DBG_REGISTER(dbg, "firm.opt.tailrec");
for (i = get_irp_n_irgs() - 1; i >= 0; --i) {
irg = get_irp_irg(i);
......
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