hash-traits.h (default_hash_traits): New structure.
authorRichard Sandiford <richard.sandiford@arm.com>
Thu, 25 Jun 2015 17:07:26 +0000 (17:07 +0000)
committerRichard Sandiford <rsandifo@gcc.gnu.org>
Thu, 25 Jun 2015 17:07:26 +0000 (17:07 +0000)
commitb32ca1dfaf130c7cd946c917905f21854c260efa
tree0d263ff1b78638159eec3b6061f9596f22d5c4e9
parentfc17926acd3037f77501798862b70b5b194002eb
hash-traits.h (default_hash_traits): New structure.

gcc/
* hash-traits.h (default_hash_traits): New structure.
* hash-set.h (default_hashset_traits): Delete.
(hash_set): Use default_hash_traits<Key> instead of
default_hashset_traits.  Delete hash_entry type and use Key directly.
* ipa-devirt.c (pair_traits): Delete.
(default_hash_traits <type_pair>): Override.
(odr_subtypes_equivalent_p): Remove pair_types template parameter.
(odr_types_equivalent_p, add_type_duplicate): Likewise.

From-SVN: r224964
gcc/ChangeLog
gcc/hash-set.h
gcc/hash-traits.h
gcc/ipa-devirt.c