Move ipa-refs from ggc to heap.
authorJan Hubicka <jh@suse.cz>
Fri, 6 Nov 2020 12:30:39 +0000 (13:30 +0100)
committerJan Hubicka <jh@suse.cz>
Fri, 6 Nov 2020 12:30:39 +0000 (13:30 +0100)
commit7144270e2de7ba4954729c75ca389ed3081134ee
tree307a579391e35ce50e8199e2d3504aefdd5caf33
parent8a2fd716c9e9ccde7fb98c7128d2e907ece809e9
Move ipa-refs from ggc to heap.

gcc/ChangeLog:

* ipa-ref.h (enum ipa_ref_use): Remove GTY marker.
(struct ipa_ref): Remove GTY marker; reorder for better packing.
(struct ipa_ref_list): Remove GTY marker; turn references
nad referring to va_heap, vl_ptr vectors; update accesors.
* cgraph.h (symtab_node::iterate_reference): Update.
* ipa-ref.c (ipa_ref::remove_reference): Update.
* symtab.c (symtab_node::create_reference): Update.
(symtab_node::remove_all_references): Update.
(symtab_node::resolve_alias): Update.

gcc/cp/ChangeLog:

* tree.c (cp_fix_function_decl_p): Do not access ipa_ref_list dirrectly.
gcc/cgraph.h
gcc/cp/tree.c
gcc/ipa-ref.c
gcc/ipa-ref.h
gcc/symtab.c