Move hash_entry and eq_entry into cooked_index::do_finalize
authorTom Tromey <tromey@adacore.com>
Thu, 15 Dec 2022 16:38:05 +0000 (09:38 -0700)
committerTom Tromey <tromey@adacore.com>
Tue, 17 Jan 2023 14:03:26 +0000 (07:03 -0700)
commit5a89072f36ddd3be71103e3806d42ff5e49ff616
treed73fd6172a360c583bea2bb9a61fd24733f61d09
parent1a6191f1a614f61d20bfe414b81c39a8ca785cc7
Move hash_entry and eq_entry into cooked_index::do_finalize

I was briefly confused by the hash_entry and eq_entry functions in the
cooked index.  They are only needed in a single method, and that
method already has a couple of local lambdas for a different hash
table.  So, it seemed cleaner to move these there as well.
gdb/dwarf2/cooked-index.c