c++: remove nsdmi_inst hashtable
commit9b40ca2569d71e54d7dbbdbfd00d733770576f6f
authorJason Merrill <jason@redhat.com>
Thu, 16 Mar 2023 21:13:57 +0000 (16 17:13 -0400)
committerJason Merrill <jason@redhat.com>
Wed, 26 Apr 2023 21:16:22 +0000 (26 17:16 -0400)
treeee5b5f9a8bb52f8617494f9fddf3d19bccbcab28
parentd60cbbfaa9a3ad3bd1f613be95add939c16fc9a1
c++: remove nsdmi_inst hashtable

It occurred to me that we have a perfectly good DECL_INITIAL field to put
the instantiated DMI into, we don't need a separate hash table.

gcc/cp/ChangeLog:

* init.cc (nsdmi_inst): Remove.
(maybe_instantiate_nsdmi_init): Use DECL_INITIAL instead.
gcc/cp/init.cc