hash-traits.h (ggc_cache_hasher): Rename to...
authorRichard Sandiford <richard.sandiford@arm.com>
Thu, 25 Jun 2015 17:06:44 +0000 (17:06 +0000)
committerRichard Sandiford <rsandifo@gcc.gnu.org>
Thu, 25 Jun 2015 17:06:44 +0000 (17:06 +0000)
commit6c907cff668b1c4bf305b1988d99acbf841f6f52
tree2e989ada68962878a3c51638dc18cf3f243933ca
parentca752f3929677221a5806daf4940367308fc16d7
hash-traits.h (ggc_cache_hasher): Rename to...

gcc/
* hash-traits.h (ggc_cache_hasher): Rename to...
(ggc_cache_remove): ...this and remove typedefs.
(ggc_cache_ptr_hash): New class.
* hash-table.h: Update commentary.
* emit-rtl.c (const_int_hasher): Inherit from ggc_cache_ptr_hash
rather than ggc_cache_hasher.
(const_wide_int_hasher, reg_attr_hasher): Likewise.
(const_double_hasher, const_fixed_hasher): Likewise.
* function.c (insn_cache_hasher): Likewise.
* trans-mem.c (tm_wrapper_hasher): Likewise.
* tree.h (tree_decl_map_cache_hasher): Likewise.
* tree.c (type_cache_hasher, int_cst_hasher): Likewise.
(cl_option_hasher, tree_vec_map_cache_hasher): Likewise.
* ubsan.c (tree_type_map_cache_hasher): Likewise.
* varasm.c (tm_clone_hasher): Likewise.
* config/i386/i386.c (dllimport_hasher): Likewise.
* config/nvptx/nvptx.c (declared_libfunc_hasher): Likewise.
(tree_hasher): Likewise.

gcc/ada/
* gcc-interface/decl.c (value_annotation_hasher): Inherit from
ggc_cache_ptr_hash rather than ggc_cache_hasher.
* gcc-interface/utils.c (pad_type_hasher): Likewise.

From-SVN: r224960
15 files changed:
gcc/ChangeLog
gcc/ada/ChangeLog
gcc/ada/gcc-interface/decl.c
gcc/ada/gcc-interface/utils.c
gcc/config/i386/i386.c
gcc/config/nvptx/nvptx.c
gcc/emit-rtl.c
gcc/function.c
gcc/hash-table.h
gcc/hash-traits.h
gcc/trans-mem.c
gcc/tree.c
gcc/tree.h
gcc/ubsan.c
gcc/varasm.c