hash-traits.h (string_hash, [...]): New classes.
authorRichard Sandiford <richard.sandiford@arm.com>
Thu, 25 Jun 2015 17:16:23 +0000 (17:16 +0000)
committerRichard Sandiford <rsandifo@gcc.gnu.org>
Thu, 25 Jun 2015 17:16:23 +0000 (17:16 +0000)
commit20d2c372c21b9f92b30428d7b545af320d7d2303
treeef11c0ce585dd35735de0a607dd716f3fa308d6e
parent84a98514b3d659ab6ca4b6bc624a1b7453fa0daa
hash-traits.h (string_hash, [...]): New classes.

gcc/
* hash-traits.h (string_hash, nofree_string_hash): New classes.
* genmatch.c (capture_id_map_hasher): Use nofree_string_hash.
* passes.c (pass_registry_hasher): Likewise.
* config/alpha/alpha.c (string_traits): Likewise.
* config/i386/winnt.c (i386_find_on_wrapper_list): Likewise.
* config/m32c/m32c.c (pragma_traits): Likewise.
* config/mep/mep.c (pragma_traits): Likewise.

gcc/java/
* jcf-io.c (memoized_class_lookups): Use nofree_string_hash.
(find_class): Likewise.

From-SVN: r224971
gcc/ChangeLog
gcc/config/alpha/alpha.c
gcc/config/i386/winnt.c
gcc/config/m32c/m32c.c
gcc/config/mep/mep.c
gcc/genmatch.c
gcc/hash-traits.h
gcc/java/ChangeLog
gcc/java/jcf-io.c
gcc/passes.c