X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fbe%2Fbessadestr.c;h=860802533e73bd056c55cae237a4cdc4b142ec07;hb=03214ca29ad177e9d428806b442a6011f70ec6fc;hp=45a01499457a0990a75d4bb646e0b11c405fd314;hpb=e73e99f2c41199cea3de3d4d38e2fa3b120523e6;p=libfirm diff --git a/ir/be/bessadestr.c b/ir/be/bessadestr.c index 45a014994..860802533 100644 --- a/ir/be/bessadestr.c +++ b/ir/be/bessadestr.c @@ -29,7 +29,7 @@ #include "benode_t.h" #include "besched_t.h" -static firm_dbg_module_t *dbg = NULL; +DEBUG_ONLY(static firm_dbg_module_t *dbg = NULL;) #define DUMP_GRAPHS #define get_chordal_arch(ce) ((ce)->birg->main_env->arch_env) @@ -296,7 +296,7 @@ void be_ssa_destruction(be_chordal_env_t *chordal_env) { pmap *perm_map = pmap_create(); ir_graph *irg = chordal_env->irg; - dbg = firm_dbg_register("ir.be.ssadestr"); + FIRM_DBG_REGISTER(dbg, "ir.be.ssadestr"); /* create a map for fast lookup of perms: block --> perm */ chordal_env->data = perm_map;