projects
/
libfirm
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
cleanup ia32 code (use private linkage where necessary, no need for a custom unique_id)
[libfirm]
/
ir
/
be
/
bespillbelady3.c
diff --git
a/ir/be/bespillbelady3.c
b/ir/be/bespillbelady3.c
index
a504067
..
875dab6
100644
(file)
--- a/
ir/be/bespillbelady3.c
+++ b/
ir/be/bespillbelady3.c
@@
-524,6
+524,7
@@
static void do_spilling(ir_node *block, worklist_t *worklist)
#endif
}
#endif
}
+#ifdef DEBUG_libfirm
static bool worklists_equal(const worklist_t *wl1, const worklist_t *wl2)
{
const struct list_head *i1 = &wl1->live_values;
static bool worklists_equal(const worklist_t *wl1, const worklist_t *wl2)
{
const struct list_head *i1 = &wl1->live_values;
@@
-543,6
+544,7
@@
static bool worklists_equal(const worklist_t *wl1, const worklist_t *wl2)
return true;
}
return true;
}
+#endif
static bool fill_start_worklist(worklist_t *new_worklist, ir_node *block)
{
static bool fill_start_worklist(worklist_t *new_worklist, ir_node *block)
{
@@
-926,7
+928,7
@@
static void process_loop(ir_loop *loop)
process_block_or_loop(loop_blocks[i]);
}
process_block_or_loop(loop_blocks[i]);
}
-#if
ndef NDEBUG
+#if
def DEBUG_libfirm
/* run3: tentative phase - check fixpoint */
tentative_mode = true;
should_have_reached_fixpoint = true;
/* run3: tentative phase - check fixpoint */
tentative_mode = true;
should_have_reached_fixpoint = true;