summaryrefslogtreecommitdiffhomepage
path: root/ir/be/beutil.c
diff options
context:
space:
mode:
authorMichael Beck <beck@ipd.info.uni-karlsruhe.de>2008-10-12 02:36:31 +0200
committerMichael Beck <beck@ipd.info.uni-karlsruhe.de>2008-10-12 02:36:31 +0200
commit0dad8bfcc985ba41f200b5db21d8f1546ae901c2 (patch)
treef43d15e3a5400c1bbb5123f315bfa7cdee77f558 /ir/be/beutil.c
parent73ae17c0daf7b7779d669eb78f6bad992ad68111 (diff)
- removed unused (and outdated) be_collect_phis()
- add some doxygen docu [r22778]
Diffstat (limited to 'ir/be/beutil.c')
-rw-r--r--ir/be/beutil.c17
1 files changed, 0 insertions, 17 deletions
diff --git a/ir/be/beutil.c b/ir/be/beutil.c
index afec85b..1637c4d 100644
--- a/ir/be/beutil.c
+++ b/ir/be/beutil.c
@@ -115,18 +115,6 @@ void be_dump(ir_graph *irg, const char *suffix, void (*dumper)(ir_graph *, const
dumper(irg, buf);
}
-
-
-static void collect_phis(ir_node *irn, void *data)
-{
- (void) data;
- if(is_Phi(irn)) {
- ir_node *bl = get_nodes_block(irn);
- set_irn_link(irn, get_irn_link(bl));
- set_irn_link(bl, irn);
- }
-}
-
void be_clear_links(ir_graph *irg)
{
ir_reserve_resources(irg, IR_RESOURCE_IRN_LINK);
@@ -134,11 +122,6 @@ void be_clear_links(ir_graph *irg)
ir_free_resources(irg, IR_RESOURCE_IRN_LINK);
}
-void be_collect_phis(ir_graph *irg)
-{
- irg_walk_graph(irg, collect_phis, NULL, NULL);
-}
-
static void count_num_reachable_nodes(ir_node *irn, void *env)
{
int *num = env;