projects
/
libfirm
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added add_saturated
[libfirm]
/
ir
/
opt
/
reassoc.c
diff --git
a/ir/opt/reassoc.c
b/ir/opt/reassoc.c
index
10edb47
..
66174bb
100644
(file)
--- a/
ir/opt/reassoc.c
+++ b/
ir/opt/reassoc.c
@@
-28,7
+28,7
@@
# include "irloop.h"
# include "debug.h"
# include "irloop.h"
# include "debug.h"
-static firm_dbg_module_t *dbg;
+DEBUG_ONLY(static firm_dbg_module_t *dbg;)
typedef struct _walker_t {
int changes; /* set, if a reassociation take place */
typedef struct _walker_t {
int changes; /* set, if a reassociation take place */
@@
-424,5
+424,5
@@
ir_op_ops *firm_set_default_reassoc(opcode code, ir_op_ops *ops)
/* initialize the reassociation by adding operations to some opcodes */
void firm_init_reassociation(void)
{
/* initialize the reassociation by adding operations to some opcodes */
void firm_init_reassociation(void)
{
-
dbg = firm_dbg_register(
"firm.opt.reassoc");
+
FIRM_DBG_REGISTER(dbg,
"firm.opt.reassoc");
}
}