summaryrefslogtreecommitdiff
path: root/gcc/value-prof.c
diff options
context:
space:
mode:
authordehao <dehao@138bc75d-0d04-0410-961f-82ee72b054a4>2013-06-15 16:56:01 +0000
committerdehao <dehao@138bc75d-0d04-0410-961f-82ee72b054a4>2013-06-15 16:56:01 +0000
commit341de017d77ba2a92b265446516b472cb46ec7f4 (patch)
tree0d27f935f2366cda4b8120bd06b4c6a9c25ca62d /gcc/value-prof.c
parent90ba0d1e9da9352f269b91cdb4d9617a1839d489 (diff)
downloadgcc-341de017d77ba2a92b265446516b472cb46ec7f4.tar.gz
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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@200125 138bc75d-0d04-0410-961f-82ee72b054a4
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 b665b1c3904..67bc2c8ea8e 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);