ipa-inline.c (cgraph_decide_inlining_of_small_function): Fix typo in last commit.

* ipa-inline.c (cgraph_decide_inlining_of_small_function): Fix typo
	in last commit.

From-SVN: r132854
This commit is contained in:
Jan Hubicka 2008-03-04 08:01:39 +01:00 committed by Jan Hubicka
parent c262f705cb
commit b7884852fd
2 changed files with 7 additions and 1 deletions

View file

@ -1,3 +1,9 @@
2008-03-04 Jan Hubicka <jh@suse.cz>
PR c++/35262
* ipa-inline.c (cgraph_decide_inlining_of_small_function): Fix typo
in last commit.
2008-03-04 Danny Smith <dannysmith@users.sourceforge.net>
* gthr-win32.h [__GTHREAD_HIDE_WIN32API]

View file

@ -925,7 +925,7 @@ cgraph_decide_inlining_of_small_functions (void)
not_good = N_("function not declared inline and code size would grow");
if (optimize_size)
not_good = N_("optimizing for size and code size would grow");
if (not_good && growth > 0 && cgraph_estimate_growth (edge->callee))
if (not_good && growth > 0 && cgraph_estimate_growth (edge->callee) > 0)
{
if (!cgraph_recursive_inlining_p (edge->caller, edge->callee,
&edge->inline_failed))