aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Jambor <mjambor@suse.cz>2012-08-29 14:16:11 +0200
committerMartin Jambor <jamborm@gcc.gnu.org>2012-08-29 14:16:11 +0200
commitde99ac704f22e270267d4be6244c35439aea72c8 (patch)
tree52269745b21af1d1ccb29292ea3d763e9545bc8c
parent1274718f64c1aa5bd0ec72a658502d26db864220 (diff)
downloadgcc-de99ac704f22e270267d4be6244c35439aea72c8.zip
gcc-de99ac704f22e270267d4be6244c35439aea72c8.tar.gz
gcc-de99ac704f22e270267d4be6244c35439aea72c8.tar.bz2
ipa-inline.h (estimate_edge_hints): Call do_estimate_edge_hints, not do_estimate_edge_time.
2012-08-29 Martin Jambor <mjambor@suse.cz> * ipa-inline.h (estimate_edge_hints): Call do_estimate_edge_hints, not do_estimate_edge_time. From-SVN: r190777
-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 76738f3..92ba1cb 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 839bc23..c990716 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;
}