diff options
Diffstat (limited to 'gcc/ipa-ref.h')
-rw-r--r-- | gcc/ipa-ref.h | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/gcc/ipa-ref.h b/gcc/ipa-ref.h index 99273c50fb1..2333cbe91e3 100644 --- a/gcc/ipa-ref.h +++ b/gcc/ipa-ref.h @@ -48,19 +48,15 @@ struct GTY(()) ipa_ref typedef struct ipa_ref ipa_ref_t; typedef struct ipa_ref *ipa_ref_ptr; -DEF_VEC_O(ipa_ref_t); -DEF_VEC_ALLOC_O(ipa_ref_t,gc); -DEF_VEC_P(ipa_ref_ptr); -DEF_VEC_ALLOC_P(ipa_ref_ptr,heap); /* List of references. This is stored in both callgraph and varpool nodes. */ struct GTY(()) ipa_ref_list { /* Store actual references in references vector. */ - VEC(ipa_ref_t,gc) *references; + vec<ipa_ref_t, va_gc> *references; /* Referring is vector of pointers to references. It must not live in GGC space or GGC will try to mark middle of references vectors. */ - VEC(ipa_ref_ptr,heap) * GTY((skip)) referring; + vec<ipa_ref_ptr> GTY((skip)) referring; }; struct ipa_ref * ipa_record_reference (symtab_node, |