ipa-inline.c (reset_edge_caches): New function.
authorJan Hubicka <jh@suse.cz>
Wed, 4 May 2011 22:48:54 +0000 (00:48 +0200)
committerJan Hubicka <hubicka@gcc.gnu.org>
Wed, 4 May 2011 22:48:54 +0000 (22:48 +0000)
commit40fda55b4060ddc9f5d5bebe39cd409d63af9388
tree015b84dec1ea6f1b81c2cfdfecaf345a63e3e13f
parentbf9fa1b972229c9caa32c5b95c0ca211757a1e9b
ipa-inline.c (reset_edge_caches): New function.

* ipa-inline.c (reset_edge_caches): New function.
(update_caller_keys): Add check_inlinablity_for; do not
reset edge caches; remove now unnecesary loop.
(update_callee_keys): Add comments; reset
node_growth_cache of callee.
(update_all_callee_keys): Likewise.
(inline_small_functions): Sanity check cache; update code
recomputing it.

From-SVN: r173399
gcc/ChangeLog
gcc/ipa-inline.c