aboutsummaryrefslogtreecommitdiff
path: root/gcc/ipa-inline-transform.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/ipa-inline-transform.c')
-rw-r--r--gcc/ipa-inline-transform.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/ipa-inline-transform.c b/gcc/ipa-inline-transform.c
index 4cfd87b..03442fc 100644
--- a/gcc/ipa-inline-transform.c
+++ b/gcc/ipa-inline-transform.c
@@ -86,7 +86,7 @@ can_remove_node_now_p_1 (struct cgraph_node *node)
can remove its offline copy, but we would need to keep unanalyzed node in
the callgraph so references can point to it. */
return (!node->address_taken
- && !ipa_ref_has_aliases_p (&node->ref_list)
+ && !node->has_aliases_p ()
&& !node->used_as_abstract_origin
&& cgraph_can_remove_if_no_direct_calls_p (node)
/* Inlining might enable more devirtualizing, so we want to remove
@@ -451,7 +451,7 @@ inline_transform (struct cgraph_node *node)
next = e->next_callee;
cgraph_redirect_edge_call_stmt_to_callee (e);
}
- ipa_remove_all_references (&node->ref_list);
+ node->remove_all_references ();
timevar_push (TV_INTEGRATION);
if (node->callees && optimize)