cgraph.c (cgraph_will_be_removed_from_program_if_no_direct_calls): New function.
authorJan Hubicka <jh@suse.cz>
Thu, 8 Jul 2010 16:46:49 +0000 (18:46 +0200)
committerJan Hubicka <hubicka@gcc.gnu.org>
Thu, 8 Jul 2010 16:46:49 +0000 (16:46 +0000)
commit09411461d2e1d7dfcc3aed713bddc68e34ba223d
treebc5d1a43aa025755bcaa3455dd75d5fff8fd479a
parent72109b25534c8471768fa2765bebe7c62420e059
cgraph.c (cgraph_will_be_removed_from_program_if_no_direct_calls): New function.

* cgraph.c (cgraph_will_be_removed_from_program_if_no_direct_calls):
New function.
* cgraph.h (cgraph_will_be_removed_from_program_if_no_direct_calls):
Declare.
* ipa-cp.c (ipcp_estimate_growth): Use it.
* ipa-inline.c (cgraph_estimate_growth, cgraph_decide_inlining):
Likewise.

From-SVN: r161966
gcc/ChangeLog
gcc/cgraph.c
gcc/cgraph.h
gcc/ipa-cp.c
gcc/ipa-inline.c