diff options
author | hubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-09-21 23:10:07 +0000 |
---|---|---|
committer | hubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-09-21 23:10:07 +0000 |
commit | 0a97420bc3a35f41ac153bf5a781ddece37bbc47 (patch) | |
tree | 03d2df04611961b6960dba43f872601e7f44ad29 /gcc/ipa-inline.h | |
parent | 2337e4938d53ddab3763da58ab714de2145c65ec (diff) | |
download | gcc-0a97420bc3a35f41ac153bf5a781ddece37bbc47.tar.gz |
* ipa-inline.c (relative_time_benefit): Fix wrong bracketting.
* ipa-inline.h (estimate_edge_time): Fix pasto.
* ipa-inline-analysis.c (do_estiamte_edge_time): Remove capping.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@179064 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ipa-inline.h')
-rw-r--r-- | gcc/ipa-inline.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/ipa-inline.h b/gcc/ipa-inline.h index bba13b6af46..c129d28f239 100644 --- a/gcc/ipa-inline.h +++ b/gcc/ipa-inline.h @@ -219,7 +219,7 @@ estimate_edge_time (struct cgraph_edge *edge) if ((int)VEC_length (edge_growth_cache_entry, edge_growth_cache) <= edge->uid || !(ret = VEC_index (edge_growth_cache_entry, edge_growth_cache, - edge->uid)->size)) + edge->uid)->time)) return do_estimate_edge_time (edge); return ret - (ret > 0); } |