Re: [PATCH] Cleanup of cgraph topological ordering functions

2011-04-29 Thread Jan Hubicka
> 2011-04-29 Martin Jambor > > * cgraph.h (cgraph_postorder): Remove declaration. > * ipa-utils.h (ipa_free_postorder_info): Declare. > (ipa_reverse_postorder): Likewise. > * cgraphunit.c: Include ipa-utils.h. > (cgraph_expand_all_functions): Update call to ipa_rev

[PATCH] Cleanup of cgraph topological ordering functions

2011-04-29 Thread Martin Jambor
Hi, today while discussing the two functions that we have in gcc to topologically sort the call graph, Honza asked me to put them both into the ipa-utils file and rename them. So this patch moves cgraph_postorder there and renames it to ipa_reverse_postorder, and similarly, it renames ipa_utils_r