c++: Remove ifdefed code
authorNathan Sidwell <nathan@acm.org>
Wed, 22 Jun 2022 14:51:44 +0000 (07:51 -0700)
committerNathan Sidwell <nathan@acm.org>
Wed, 22 Jun 2022 15:21:03 +0000 (08:21 -0700)
commitd844478ab47a16c8ae65f253fd1cdc685c7951fc
tree0096f3e7a735084d5d13158d635eca98f05ddd9c
parentd68d366425369649cb4e25a07752e25a4fff52cf
c++: Remove ifdefed code

The only reason I chose to use DECL_UID on this hash table was to make
it stable against ASLR and perturbations due to other allocations.
It's not required for correctness, as the comment mentions the
equality fn uses pointer identity.

gcc/cp/
* module.cc (struct duplicate_hash): Remove.
(duplicate_hash_map): Adjust.
gcc/cp/module.cc