X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fbe%2Fbeutil.c;h=56b4d935cef4b35efbf39cade4305468d43e6af7;hb=03300a88ae8d61bb6c2129dcf55937f3250c1217;hp=8819242f205493b44b6b5c7f1eec687a289b7c34;hpb=060aa4c91666063f9bb70aaa76f5c819d256a15f;p=libfirm diff --git a/ir/be/beutil.c b/ir/be/beutil.c index 8819242f2..56b4d935c 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. */