diff options
author | Martin Liska <mliska@suse.cz> | 2018-06-08 14:26:57 +0200 |
---|---|---|
committer | Martin Liska <marxin@gcc.gnu.org> | 2018-06-08 12:26:57 +0000 |
commit | 746447567a82ce2987f579770fd296ace60f87b1 (patch) | |
tree | c22de406a2a163de859df4f8b0c31de0e34a74a3 /gcc/ipa-inline-analysis.c | |
parent | 9d3e0adc2a0e657b2aa384f1392dd2fac77a62d4 (diff) | |
download | gcc-746447567a82ce2987f579770fd296ace60f87b1.zip gcc-746447567a82ce2987f579770fd296ace60f87b1.tar.gz gcc-746447567a82ce2987f579770fd296ace60f87b1.tar.bz2 |
Remove cgraph_node::summary_uid and make cgraph_node::uid really unique.
2018-06-08 Martin Liska <mliska@suse.cz>
* cgraph.c (cgraph_node::remove): Do not recycle uid.
* cgraph.h (symbol_table::release_symbol): Do not pass uid.
(symbol_table::allocate_cgraph_symbol): Do not set uid.
* passes.c (uid_hash_t): Record removed_nodes by their uids.
(remove_cgraph_node_from_order): Use the removed_nodes set.
(do_per_function_toporder): Likwise.
* symbol-summary.h (symtab_insertion): Use cgraph_node::uid
instead of summary_uid.
(symtab_removal): Likewise.
(symtab_duplication): Likewise.
2018-06-08 Martin Liska <mliska@suse.cz>
* lto-partition.c (lto_balanced_map): Use cgraph_node::uid
instead of summary_uid.
From-SVN: r261315
Diffstat (limited to 'gcc/ipa-inline-analysis.c')
0 files changed, 0 insertions, 0 deletions