Rename inchash::hash::add_wide_int
commiteadcd69cf2e92c57b7af8a0c7b2f813d6e1f58a9
authorrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 22 Oct 2017 20:42:06 +0000 (22 20:42 +0000)
committerrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 22 Oct 2017 20:42:06 +0000 (22 20:42 +0000)
tree083e08720c9922f43d59871a20fcc92f1efea89b
parent3783eb0984e9c194adbe405787b53090a50239d5
Rename inchash::hash::add_wide_int

The name inchash::add_wide_int is a bit misleading, since it sounds
like it's hashing a wide_int.  This patch renames it to add_hwi instead.

2017-10-22  Richard Sandiford  <richard.sandiford@linaro.org>

gcc/
* inchash.h (inchash::hash::add_wide_int): Rename to...
(inchash::hash::add_hwi): ...this.
* ipa-devirt.c (hash_odr_vtable): Update accordingly.
(polymorphic_call_target_hasher::hash): Likewise.
* ipa-icf.c (sem_function::get_hash, sem_function::init): Likewise.
(sem_item::add_expr, sem_item::add_type, sem_variable::get_hash)
(sem_item_optimizer::update_hash_by_addr_refs): Likewise.
* lto-streamer-out.c (hash_tree): Likewise.
* optc-save-gen.awk: Likewise.
* tree.c (add_expr): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@253987 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/inchash.h
gcc/ipa-devirt.c
gcc/ipa-icf.c
gcc/lto-streamer-out.c
gcc/optc-save-gen.awk
gcc/tree.c