Release ipa-prop's agg.items and make alocation more careful
authorJan Hubicka <jh@suse.cz>
Mon, 23 Nov 2020 15:58:23 +0000 (16:58 +0100)
committerJan Hubicka <jh@suse.cz>
Mon, 23 Nov 2020 15:58:23 +0000 (16:58 +0100)
commit7ee0681e055aac83bdf7ef9c9556743c8461bc5e
tree5b425dc2d93dd95b27fac2796216d7ec58df112f
parent54af3008b6f05985d378a48d337d9c70c708ecff
Release ipa-prop's agg.items and make alocation more careful

This saves about 316MB WPAing Firefox

* ipa-prop.c (build_agg_jump_func_from_list,
ipa_read_jump_function): Reserve agg.items precisely.
* ipa-prop.h (ipa_node_params::~ipa_node_params): Release descriptors
(ipa_edge_args::~ipa_edge_args): Release agg.items.
gcc/ipa-prop.c
gcc/ipa-prop.h