projects
/
libfirm
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
9164d20
)
fix optimize build
author
Matthias Braun
<matze@braunis.de>
Fri, 19 Sep 2008 18:54:33 +0000
(18:54 +0000)
committer
Matthias Braun
<matze@braunis.de>
Fri, 19 Sep 2008 18:54:33 +0000
(18:54 +0000)
[r22130]
ir/opt/combo.c
patch
|
blob
|
history
diff --git
a/ir/opt/combo.c
b/ir/opt/combo.c
index
2fc87e3
..
4d80dcf
100644
(file)
--- a/
ir/opt/combo.c
+++ b/
ir/opt/combo.c
@@
-222,6
+222,7
@@
static void check_all_partitions(environment_t *env) {
partition_t *P;
node_t *node;
partition_t *P;
node_t *node;
+#ifdef DEBUG_libfirm
for (P = env->dbg_list; P != NULL; P = P->dbg_next) {
check_partition(P);
list_for_each_entry(node_t, node, &P->Follower, node_list) {
for (P = env->dbg_list; P != NULL; P = P->dbg_next) {
check_partition(P);
list_for_each_entry(node_t, node, &P->Follower, node_list) {
@@
-230,6
+231,7
@@
static void check_all_partitions(environment_t *env) {
assert(leader != node && leader->part == node->part);
}
}
assert(leader != node && leader->part == node->part);
}
}
+#endif
}
/**
}
/**
@@
-2956,11
+2958,13
@@
static void set_compute_functions(void) {
} /* set_compute_functions */
static int dump_partition_hook(FILE *F, ir_node *n, ir_node *local) {
} /* set_compute_functions */
static int dump_partition_hook(FILE *F, ir_node *n, ir_node *local) {
+#ifdef DEBUG_libfirm
ir_node *irn = local != NULL ? local : n;
node_t *node = get_irn_node(irn);
ir_fprintf(F, "info2 : \"partition %u type %+F\"\n", node->part->nr, node->type);
return 1;
ir_node *irn = local != NULL ? local : n;
node_t *node = get_irn_node(irn);
ir_fprintf(F, "info2 : \"partition %u type %+F\"\n", node->part->nr, node->type);
return 1;
+#endif
}
void combo(ir_graph *irg) {
}
void combo(ir_graph *irg) {