summaryrefslogtreecommitdiff
path: root/gcc/ipa-ref-inline.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/ipa-ref-inline.h')
-rw-r--r--gcc/ipa-ref-inline.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/ipa-ref-inline.h b/gcc/ipa-ref-inline.h
index 6ca9ba08f30..b9c3f533534 100644
--- a/gcc/ipa-ref-inline.h
+++ b/gcc/ipa-ref-inline.h
@@ -60,9 +60,9 @@ static inline struct ipa_ref_list *
ipa_ref_refering_ref_list (struct ipa_ref *ref)
{
if (ref->refering_type == IPA_REF_CGRAPH)
- return &ipa_ref_refering_node (ref)->ref_list;
+ return &ipa_ref_refering_node (ref)->symbol.ref_list;
else
- return &ipa_ref_refering_varpool_node (ref)->ref_list;
+ return &ipa_ref_refering_varpool_node (ref)->symbol.ref_list;
}
/* Return reference list REF is in. */
@@ -71,9 +71,9 @@ static inline struct ipa_ref_list *
ipa_ref_refered_ref_list (struct ipa_ref *ref)
{
if (ref->refered_type == IPA_REF_CGRAPH)
- return &ipa_ref_node (ref)->ref_list;
+ return &ipa_ref_node (ref)->symbol.ref_list;
else
- return &ipa_ref_varpool_node (ref)->ref_list;
+ return &ipa_ref_varpool_node (ref)->symbol.ref_list;
}
/* Return first reference in LIST or NULL if empty. */