Commit 1a3a33b6 authored by Matthias Braun's avatar Matthias Braun
Browse files

remove unused functions

[r28014]
parent ba028376
......@@ -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.
*/
......
......@@ -59,13 +59,6 @@ static inline const ir_node *get_block_const(const ir_node *irn)
*/
void be_clear_links(ir_graph *irg);
/**
* Returns the number of reachable nodes in an irg.
* @param irg The irg.
* @return The number of reachable nodes.
*/
unsigned get_num_reachable_nodes(ir_graph *irg);
/**
* Gets the Proj with number pn from irn.
*/
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment