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
/
ifconv.c
diff --git
a/ir/opt/ifconv.c
b/ir/opt/ifconv.c
index
33858c3
..
a9b06fd
100644
(file)
--- a/
ir/opt/ifconv.c
+++ b/
ir/opt/ifconv.c
@@
-35,6
+35,7
@@
#include "irgraph_t.h"
#include "irnode_t.h"
#include "irgraph_t.h"
#include "irnode_t.h"
+#include "irgwalk.h"
#include "iropt_t.h"
#include "irgmod.h"
#include "irmode_t.h"
#include "iropt_t.h"
#include "irgmod.h"
#include "irmode_t.h"
@@
-181,7
+182,7
@@
static const opt_if_conv_info_t default_info = {
};
/** The debugging module. */
};
/** 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.
/**
* A simple check for side effects upto an opcode of a ir node.
@@
-954,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. */
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
#if 0
firm_dbg_set_mask(dbg, LEVEL_1|LEVEL_2|LEVEL_3);
#endif