diff options
author | Jan Hubicka <jh@suse.cz> | 2011-06-10 13:24:30 +0000 |
---|---|---|
committer | Jan Hubicka <jh@suse.cz> | 2011-06-10 13:24:30 +0000 |
commit | 12aea6df740df44efe44a77b9090ba87161ba700 (patch) | |
tree | 5a3afdf91d3d3953bbd03b79c2e0d857d968bf70 /gcc/ipa-cp.c | |
parent | 16107bd0ab7bd656072290a8d2ab9376879450a4 (diff) |
* 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: https://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.c | 5 |
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; |