]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/lto-cgraph.cc
Come up with cgraph_node::get_uid and make cgraph_node::uid private.
authorMartin Liska <mliska@suse.cz>
Fri, 8 Jun 2018 12:36:26 +0000 (14:36 +0200)
committerMartin Liska <marxin@gcc.gnu.org>
Fri, 8 Jun 2018 12:36:26 +0000 (12:36 +0000)
commit4325656f9fddc1c3802ac27795a77cec3ede27a4
tree3007ee87e0be9ad71f6af55941a7f2d815dedcfa
parent8b25212d3e960dd130d71330ad6d55b40c5be254
Come up with cgraph_node::get_uid and make cgraph_node::uid private.

2018-06-08  Martin Liska  <mliska@suse.cz>

* cgraph.c (function_version_hasher::hash): Use
cgraph_node::get_uid ().
(function_version_hasher::equal):
* cgraph.h (cgraph_node::get_uid): New method.
* ipa-inline.c (update_caller_keys): Use
cgraph_node::get_uid ().
(update_callee_keys): Likewise.
* ipa-utils.c (searchc): Likewise.
(ipa_reduced_postorder): Likewise.
* lto-cgraph.c (input_node): Likewise.
* passes.c (is_pass_explicitly_enabled_or_disabled): Likewise.
* symbol-summary.h (symtab_insertion): Likewise.
(symtab_removal): Likewise.
(symtab_duplication): Likewise.
* tree-pretty-print.c (dump_function_header): Likewise.
* tree-sra.c (convert_callers_for_node): Likewise.

From-SVN: r261320
gcc/ChangeLog
gcc/cgraph.c
gcc/cgraph.h
gcc/ipa-inline.c
gcc/ipa-utils.c
gcc/lto-cgraph.c
gcc/passes.c
gcc/symbol-summary.h
gcc/tree-pretty-print.c
gcc/tree-sra.c