projects
/
libfirm
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
used "obst.h" instead of <obstack.h>
[libfirm]
/
ir
/
be
/
becopystat.c
diff --git
a/ir/be/becopystat.c
b/ir/be/becopystat.c
index
1a4c195
..
15d1a25
100644
(file)
--- a/
ir/be/becopystat.c
+++ b/
ir/be/becopystat.c
@@
-29,7
+29,7
@@
#define DO_ILP2
#define DEBUG_LVL SET_LEVEL_1
#define DO_ILP2
#define DEBUG_LVL SET_LEVEL_1
-static firm_dbg_module_t *dbg = NULL;
+DEBUG_ONLY(static firm_dbg_module_t *dbg = NULL;)
#define MAX_ARITY 20
#define MAX_CLS_SIZE 20
#define MAX_ARITY 20
#define MAX_CLS_SIZE 20
@@
-100,8
+100,7
@@
static pset *all_copy_nodes;
static ir_graph *last_irg;
void copystat_init(void) {
static ir_graph *last_irg;
void copystat_init(void) {
- dbg = firm_dbg_register("ir.be.copystat");
- firm_dbg_set_mask(dbg, DEBUG_LVL);
+ FIRM_DBG_REGISTER(dbg, "firm.be.copystat");
all_phi_nodes = pset_new_ptr_default();
all_phi_classes = pset_new_ptr_default();
all_phi_nodes = pset_new_ptr_default();
all_phi_classes = pset_new_ptr_default();