aboutsummaryrefslogtreecommitdiff
path: root/gcc/ipa-prop.c
diff options
context:
space:
mode:
authorJan Hubicka <jh@suse.cz>2011-06-10 15:24:30 +0200
committerJan Hubicka <hubicka@gcc.gnu.org>2011-06-10 13:24:30 +0000
commitf1724940a99f1b841d066ccf050a16e11be12f46 (patch)
tree5a3afdf91d3d3953bbd03b79c2e0d857d968bf70 /gcc/ipa-prop.c
parenta6f834c5a87c1ac42f1c842bba34d84740218d77 (diff)
downloadgcc-f1724940a99f1b841d066ccf050a16e11be12f46.zip
gcc-f1724940a99f1b841d066ccf050a16e11be12f46.tar.gz
gcc-f1724940a99f1b841d066ccf050a16e11be12f46.tar.bz2
ipa-cp.c (ipcp_process_devirtualization_opportunities): Update call of gimple_get_virt_method_for_binfo.
* 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. From-SVN: r174905
Diffstat (limited to 'gcc/ipa-prop.c')
-rw-r--r--gcc/ipa-prop.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/ipa-prop.c b/gcc/ipa-prop.c
index 70622e5..7e74ac8 100644
--- a/gcc/ipa-prop.c
+++ b/gcc/ipa-prop.c
@@ -1771,7 +1771,7 @@ try_make_edge_direct_virtual_call (struct cgraph_edge *ie,
type = ie->indirect_info->otr_type;
binfo = get_binfo_at_offset (binfo, ie->indirect_info->anc_offset, type);
if (binfo)
- target = gimple_get_virt_method_for_binfo (token, binfo, &delta, true);
+ target = gimple_get_virt_method_for_binfo (token, binfo, &delta);
else
return NULL;