aboutsummaryrefslogtreecommitdiff
path: root/gcc/value-prof.c
diff options
context:
space:
mode:
authorDehao Chen <dehao@google.com>2013-06-15 16:56:01 +0000
committerDehao Chen <dehao@gcc.gnu.org>2013-06-15 16:56:01 +0000
commit4de09b857ea83e17912dad82a2dddc1047376d41 (patch)
tree0d27f935f2366cda4b8120bd06b4c6a9c25ca62d /gcc/value-prof.c
parent58aee036e81d53cfb0c9de70369270633a042c42 (diff)
downloadgcc-4de09b857ea83e17912dad82a2dddc1047376d41.zip
gcc-4de09b857ea83e17912dad82a2dddc1047376d41.tar.gz
gcc-4de09b857ea83e17912dad82a2dddc1047376d41.tar.bz2
tree-flow.h (gimple_check_call_matching_types): Add new argument.
2013-06-15 Dehao Chen <dehao@google.com> * tree-flow.h (gimple_check_call_matching_types): Add new argument. * gimple-low.c (gimple_check_call_matching_types): Likewise. (gimple_check_call_args): Likewise. * value-prof.c (check_ic_target): Likewise. * ipa-inline.c (early_inliner): Likewise. * ipa-prop.c (update_indirect_edges_after_inlining): Likewise. * cgraph.c (cgraph_create_edge_1): Likewise. (cgraph_make_edge_direct): Likewise. From-SVN: r200125
Diffstat (limited to 'gcc/value-prof.c')
-rw-r--r--gcc/value-prof.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/value-prof.c b/gcc/value-prof.c
index b665b1c..67bc2c8 100644
--- a/gcc/value-prof.c
+++ b/gcc/value-prof.c
@@ -1231,7 +1231,7 @@ static bool
check_ic_target (gimple call_stmt, struct cgraph_node *target)
{
location_t locus;
- if (gimple_check_call_matching_types (call_stmt, target->symbol.decl))
+ if (gimple_check_call_matching_types (call_stmt, target->symbol.decl, true))
return true;
locus = gimple_location (call_stmt);