/*
- * Copyright (C) 1995-2007 University of Karlsruhe. All right reserved.
+ * Copyright (C) 1995-2008 University of Karlsruhe. All right reserved.
*
* This file is part of libFirm.
*
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
waitq_put(worklist, block);
}
- while(! pdeq_empty(worklist)) {
+ while(! waitq_empty(worklist)) {
int i;
ir_node *block = waitq_get(worklist);
ir_node **domfront = be_get_dominance_frontier(domfronts, block);
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