X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fbe%2Fbecopystat.c;h=15d1a255c408b77412ca1f59c08cd08165159db9;hb=1161999117f5c0f56b3af2dc9bb7150e03761905;hp=7ee6361e4feeb6fb6bffa29ccf1932c4e6cd41ec;hpb=011d0c933eda9fb0eaaa48c930bd82df86572d20;p=libfirm diff --git a/ir/be/becopystat.c b/ir/be/becopystat.c index 7ee6361e4..15d1a255c 100644 --- a/ir/be/becopystat.c +++ b/ir/be/becopystat.c @@ -29,7 +29,7 @@ #define DO_ILP2 #define DEBUG_LVL SET_LEVEL_1 -static firm_dbg_module_t *dbg = NULL; +DEBUG_ONLY(static firm_dbg_module_t *dbg = NULL;) #define MAX_ARITY 20 #define MAX_CLS_SIZE 20 @@ -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();