summaryrefslogtreecommitdiffhomepage
path: root/ir/be/beutil.c
diff options
context:
space:
mode:
authorMatthias Braun <matze@braunis.de>2010-09-22 16:07:37 +0200
committerMatthias Braun <matze@braunis.de>2010-09-22 16:07:37 +0200
commit1a3a33b69b6ecd55f6a78c2a1a9a5d284e319701 (patch)
treebd5690da029be8beca111b56ae8b4666ecda8ebc /ir/be/beutil.c
parentba028376aed5b85830ce7271b9a8020f22af6f9c (diff)
remove unused functions
[r28014]
Diffstat (limited to 'ir/be/beutil.c')
-rw-r--r--ir/be/beutil.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/ir/be/beutil.c b/ir/be/beutil.c
index 8819242..56b4d93 100644
--- a/ir/be/beutil.c
+++ b/ir/be/beutil.c
@@ -49,20 +49,6 @@ void be_clear_links(ir_graph *irg)
irg_walk_graph(irg, firm_clear_link, NULL, NULL);
}
-static void count_num_reachable_nodes(ir_node *irn, void *env)
-{
- int *num = env;
- (*num)++;
- (void) irn;
-}
-
-unsigned get_num_reachable_nodes(ir_graph *irg)
-{
- int num = 0;
- irg_walk_graph(irg, count_num_reachable_nodes, NULL, &num);
- return num;
-}
-
/**
* Gets the Proj with number pn from irn.
*/