diff options
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/ipa-inline.h | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 76738f344d5..92ba1cb1620 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2012-08-29 Martin Jambor <mjambor@suse.cz> + + * ipa-inline.h (estimate_edge_hints): Call do_estimate_edge_hints, not + do_estimate_edge_time. + 2012-08-29 Chung-Lin Tang <cltang@codesourcery.com> * config/mips/mips.h (CRT_CALL_STATIC_FUNCTION): Add nomips16 asm diff --git a/gcc/ipa-inline.h b/gcc/ipa-inline.h index 839bc237f2a..c99071672e7 100644 --- a/gcc/ipa-inline.h +++ b/gcc/ipa-inline.h @@ -283,7 +283,7 @@ estimate_edge_hints (struct cgraph_edge *edge) || !(ret = VEC_index (edge_growth_cache_entry, edge_growth_cache, edge->uid).hints)) - return do_estimate_edge_time (edge); + return do_estimate_edge_hints (edge); return ret - 1; } |