Commit 30cd701b authored by Christian Würdig's avatar Christian Würdig
Browse files

fixed debugging

parent f4bdc23a
......@@ -513,8 +513,7 @@ int co_solve_ilp2(copy_opt_t *co, double time_limit) {
my.first_x_var = -1;
my.last_x_var = -1;
my.nr_2_irn = pmap_create();
FIRM_DBG_REGISTER(my.dbg, "ir.be.coilp2");
firm_dbg_set_mask(my.dbg, DEBUG_LVL);
FIRM_DBG_REGISTER(my.dbg, "firm.be.coilp2");
ienv = new_ilp_env(co, ilp2_build, ilp2_apply, &my);
......
......@@ -100,8 +100,7 @@ static pset *all_copy_nodes;
static ir_graph *last_irg;
void copystat_init(void) {
FIRM_DBG_REGISTER(dbg, "ir.be.copystat");
firm_dbg_set_mask(dbg, DEBUG_LVL);
FIRM_DBG_REGISTER(dbg, "firm.be.copystat");
all_phi_nodes = pset_new_ptr_default();
all_phi_classes = pset_new_ptr_default();
......
......@@ -337,6 +337,8 @@ static void be_main_loop(FILE *file_handle)
arch_code_generator_done(birg.cg);
dump(DUMP_FINAL, irg, "-end", dump_ir_block_graph_sched);
be_abi_free(birg.abi);
free_ir_graph(irg);
}
be_done_env(&env);
......
......@@ -939,8 +939,7 @@ static void be_ra_extern_main(const be_irg_t *bi) {
raenv.aenv = env->arch_env;
raenv.dom_info = be_compute_dominance_frontiers(irg);
raenv.vars = new_set(compare_var_infos, 64);
FIRM_DBG_REGISTER(raenv.dbg, "ir.be.raextern");
firm_dbg_set_mask(raenv.dbg, DBG_LEVEL);
FIRM_DBG_REGISTER(raenv.dbg, "firm.be.raextern");
/* Insert copies for constraints */
handle_constraints(&raenv);
......
......@@ -644,7 +644,7 @@ void be_spill_ilp(const be_chordal_env_t *chordal_env)
si.edges = NULL;
si.enable_remat = 0;
si.enable_store = 1;
FIRM_DBG_REGISTER(si.dbg, "be.ra.spillilp");
FIRM_DBG_REGISTER(si.dbg, "firm.be.ra.spillilp");
firm_dbg_set_mask(si.dbg, DBG_LEVEL);
irg_block_walk_graph(chordal_env->irg, process_block, NULL, &si);
......
......@@ -161,8 +161,7 @@ be_uses_t *be_begin_uses(ir_graph *irg, const arch_env_t *arch_env, const arch_r
uses->arch_env = arch_env;
uses->uses = new_set(cmp_use, 512);
uses->irg = irg;
FIRM_DBG_REGISTER(uses->dbg, "be.uses");
firm_dbg_set_mask(uses->dbg, DBG_LEVEL);
FIRM_DBG_REGISTER(uses->dbg, "firm.be.uses");
return uses;
}
......
Markdown is supported
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