From ae111327189f2c3f84fe7eda8d79e9ede99fb3fe Mon Sep 17 00:00:00 2001 From: Michael Beck Date: Wed, 10 Sep 2008 00:54:33 +0000 Subject: [PATCH] - if 0'ed unused function [r21804] --- ir/be/bedomfront.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ir/be/bedomfront.c b/ir/be/bedomfront.c index 65886a95a..79aad6e05 100644 --- a/ir/be/bedomfront.c +++ b/ir/be/bedomfront.c @@ -140,6 +140,7 @@ ir_node **be_get_dominance_frontier(const be_dom_front_info_t *info, return pmap_get(info->df_map, block); } +#if 0 /** * Calculates the iterated dominance frontier of a set of blocks. * Also clears the link field of the returned blocks as a side effect @@ -163,12 +164,11 @@ void be_get_iterated_dominance_frontiers(const be_dom_front_info_t *domfronts, for (i = 0; i < domfront_len; ++i) { ir_node *y = domfront[i]; - if(!ir_nodeset_insert(blocks, y)) - continue; - - waitq_put(worklist, y); + if (ir_nodeset_insert(blocks, y)) + waitq_put(worklist, y); } } del_waitq(worklist); } +#endif -- 2.20.1