X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Flpp%2Flpp.c;h=2d2c8a98aad623288ae515f3122f63fbabc9c64c;hb=6ccff2965d94c272f71df2a1655336af47bb7753;hp=cfb7cc8c876cccfcdc6cac777d13d5e22f285668;hpb=321855ff2c234518e0ac8d794903eb78d23fc1fa;p=libfirm diff --git a/ir/lpp/lpp.c b/ir/lpp/lpp.c index cfb7cc8c8..2d2c8a98a 100644 --- a/ir/lpp/lpp.c +++ b/ir/lpp/lpp.c @@ -32,6 +32,7 @@ #include "hashptr.h" #include "debug.h" #include "set.h" +#include "debug.h" #include "sp_matrix.h" #include "mps.h" @@ -42,7 +43,7 @@ #define HASH_NAME_T(n) HASH_STR((n)->name, strlen((n)->name)) -static firm_dbg_module_t *dbg = NULL; +DEBUG_ONLY(static firm_dbg_module_t *dbg = NULL;) static inline char *obst_xstrdup(struct obstack *obst, const char *str) { @@ -79,7 +80,7 @@ lpp_t *lpp_new_userdef(const char *name, lpp_opt_t opt_type, lpp_t *lpp; int idx; - dbg = firm_dbg_register("lpp"); + DEBUG_ONLY(dbg = firm_dbg_register("lpp");) lpp = XMALLOCZ(lpp_t); obstack_init(&lpp->obst);