summaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorjamborm <jamborm@138bc75d-0d04-0410-961f-82ee72b054a4>2012-08-29 12:16:11 +0000
committerjamborm <jamborm@138bc75d-0d04-0410-961f-82ee72b054a4>2012-08-29 12:16:11 +0000
commit6e3009579a04ec619c424654bdc24568110d58f0 (patch)
tree52269745b21af1d1ccb29292ea3d763e9545bc8c /gcc
parent5780132ce3649bc9ac38a62e9287128a77377c55 (diff)
downloadgcc-6e3009579a04ec619c424654bdc24568110d58f0.tar.gz
2012-08-29 Martin Jambor <mjambor@suse.cz>
* ipa-inline.h (estimate_edge_hints): Call do_estimate_edge_hints, not do_estimate_edge_time. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@190777 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/ipa-inline.h2
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;
}