X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fbe%2Fbespillbelady3.c;h=875dab660b81a92225a1a2fd8aeb907ebdff1e84;hb=c03098df320995c78fb51798f1933368777e2b24;hp=a504067035446413746d57098abb83cdab7029c3;hpb=ea75e9d38674b468f602a0699fb64b9c01254797;p=libfirm diff --git a/ir/be/bespillbelady3.c b/ir/be/bespillbelady3.c index a50406703..875dab660 100644 --- 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 } +#ifdef DEBUG_libfirm 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; } +#endif 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]); } -#ifndef NDEBUG +#ifdef DEBUG_libfirm /* run3: tentative phase - check fixpoint */ tentative_mode = true; should_have_reached_fixpoint = true;