cgraph.c (free_edges): New variable.
* cgraph.c (free_edges): New variable. (NEXT_FREE_EDGE): New macro. (cgraph_free_edge): New function. (cgraph_remove_edge): Call cgraph_remove_edge_1. (cgraph_node_remove_callees): Likewise. (cgraph_node_remove_callers): Likewise. (cgraph_create_edge): Reuse edges from the free list. Do not update uid if doing so. (cgraph_remove_*_hook): Add free call. Co-Authored-By: Jan Hubicka <jh@suse.cz> From-SVN: r140341
Showing
Please
register
or
sign in
to comment