This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [cxx-conversion] LTO-related hash tables
On Mon, Dec 3, 2012 at 4:10 PM, Lawrence Crowl <crowl@googlers.com> wrote:
> Before the change, lto-streamer.h output_block::string_hash_table was
> an htab_t. The element type was opaque, i.e. implicit in the void*
> casting in the hash functions provided at the htab_create call site.
>
> With the change to hash_table, the output_block::string_hash_table
> declaration needed string_slot_hasher which in turn needed
> string_slot. But string_slot was defined in data-streamer.h after
> output_block in lto-streamer.h. So, something had to move.
Ah, thanks.
Diego.