summaryrefslogtreecommitdiff
path: root/gcc/ipa-cp.c
diff options
context:
space:
mode:
authorhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>2011-06-10 13:24:30 +0000
committerhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>2011-06-10 13:24:30 +0000
commitb21cfa647d9837cba70740878c595b78459ac2b2 (patch)
tree5a3afdf91d3d3953bbd03b79c2e0d857d968bf70 /gcc/ipa-cp.c
parent1dd91a19aa828fdf130d7aed2398c08ba77e854b (diff)
downloadgcc-b21cfa647d9837cba70740878c595b78459ac2b2.tar.gz
* ipa-cp.c (ipcp_process_devirtualization_opportunities):
Update call of gimple_get_virt_method_for_binfo. * gimple-fold.c (gimple_get_virt_method_for_binfo): Remove refuse_thunks parameter. (gimple_fold_call): Update. * ipa-prop.c (try_make_edge_direct_virtual_call): Update. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@174905 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ipa-cp.c')
-rw-r--r--gcc/ipa-cp.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/gcc/ipa-cp.c b/gcc/ipa-cp.c
index 18bfe90235d..992f1858983 100644
--- a/gcc/ipa-cp.c
+++ b/gcc/ipa-cp.c
@@ -1190,8 +1190,7 @@ ipcp_process_devirtualization_opportunities (struct cgraph_node *node)
binfo = get_binfo_at_offset (binfo, anc_offset, otr_type);
if (!binfo)
continue;
- target = gimple_get_virt_method_for_binfo (token, binfo, &delta,
- false);
+ target = gimple_get_virt_method_for_binfo (token, binfo, &delta);
}
else
{
@@ -1214,7 +1213,7 @@ ipcp_process_devirtualization_opportunities (struct cgraph_node *node)
break;
}
- t = gimple_get_virt_method_for_binfo (token, binfo, &d, true);
+ t = gimple_get_virt_method_for_binfo (token, binfo, &d);
if (!t)
{
target = NULL_TREE;