ipa-inline-analysis.c (do_estimate_edge_time): Return actual time spent by the inline...
commited901e4c617dec0b7388b2410e802545a2a55bb0
authorJan Hubicka <jh@suse.cz>
Sun, 7 Oct 2012 18:58:04 +0000 (7 20:58 +0200)
committerJan Hubicka <hubicka@gcc.gnu.org>
Sun, 7 Oct 2012 18:58:04 +0000 (7 18:58 +0000)
treefe7a69511297e157ec48839981853e440e96771d
parente75f8f79f086dac6fa2944875f0fbfdf14644687
ipa-inline-analysis.c (do_estimate_edge_time): Return actual time spent by the inlined sequence.

* ipa-inline-analysis.c (do_estimate_edge_time): Return actual
time spent by the inlined sequence.
(do_estimate_edge_growth): Rename to ...
(do_estimate_edge_time): ... this one; return size of inlined
sequence.
* ipa-inline.h (do_estimate_edge_size): New.
(do_estimate_edge_growth): Remove.
(estimate_edge_size): New function.
(estimate_edge_growth): Use it.

From-SVN: r192185
gcc/ChangeLog
gcc/ipa-inline-analysis.c
gcc/ipa-inline.h