X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fopt%2Fifconv.c;h=a9b06fdb05434d8a01f8371169c85f47f67a09af;hb=f274dcf35aa0d3f4748387dbddfe50e8d7d44951;hp=8d36e3294f6b14c24befd27d1b329a02cfb8e585;hpb=843ad5f27043889060e6ec386d26f0a7dfbb08cb;p=libfirm diff --git a/ir/opt/ifconv.c b/ir/opt/ifconv.c index 8d36e3294..a9b06fdb0 100644 --- a/ir/opt/ifconv.c +++ b/ir/opt/ifconv.c @@ -35,11 +35,13 @@ #include "irgraph_t.h" #include "irnode_t.h" +#include "irgwalk.h" #include "iropt_t.h" #include "irgmod.h" #include "irmode_t.h" #include "ircons_t.h" #include "irdom_t.h" +#include "irgwalk.h" #include "ifconv.h" #include "irflag_t.h" @@ -180,7 +182,7 @@ static const opt_if_conv_info_t default_info = { }; /** The debugging module. */ -static firm_dbg_module_t *dbg; +DEBUG_ONLY(static firm_dbg_module_t *dbg;) /** * A simple check for side effects upto an opcode of a ir node. @@ -953,7 +955,7 @@ void opt_if_conv(ir_graph *irg, const opt_if_conv_info_t *params) INIT_LIST_HEAD(&cwi.phi_head); /* Init the debug stuff. */ - dbg = firm_dbg_register("firm.opt.ifconv"); + FIRM_DBG_REGISTER(dbg, "firm.opt.ifconv"); #if 0 firm_dbg_set_mask(dbg, LEVEL_1|LEVEL_2|LEVEL_3); #endif