]> git.ipfire.org Git - thirdparty/gcc.git/commit
Come up with cgraph_node::get_uid and make cgraph_node::uid private.
authormarxin <marxin@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 8 Jun 2018 12:36:26 +0000 (12:36 +0000)
committermarxin <marxin@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 8 Jun 2018 12:36:26 +0000 (12:36 +0000)
commit2c8bbd94b3e82301d42330dd4ed5c3750fb0fd54
tree3007ee87e0be9ad71f6af55941a7f2d815dedcfa
parentd24fc4aa6e69066e555a3eaa623a9d5a9540456b
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@261320 138bc75d-0d04-0410-961f-82ee72b054a4
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