diff options
author | Tom Tromey <tom@tromey.com> | 2020-02-08 13:40:54 -0700 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2020-02-08 13:43:24 -0700 |
commit | 1d33d811c708941532410850db8279ba30995252 (patch) | |
tree | 93ffb34cf87b3f08f1de3c1f657b4b878d133bc1 /gdb/lm32-tdep.c | |
parent | 86de1d91ac93e48f77ea9fe61edfdba8ac24aa02 (diff) | |
download | gdb-1d33d811c708941532410850db8279ba30995252.zip gdb-1d33d811c708941532410850db8279ba30995252.tar.gz gdb-1d33d811c708941532410850db8279ba30995252.tar.bz2 |
Use htab_up in abbrev_table
This changes abbrev_table to use an htab_up rather than an ad hoc,
bucket-based hash table.
2020-02-08 Tom Tromey <tom@tromey.com>
* dwarf2/abbrev.c (abbrev_table): Move constructor from header.
Rewrite.
(abbrev_table::add_abbrev, abbrev_table::lookup_abbrev): Rewrite.
* dwarf2/abbrev.h (struct abbrev_info) <next>: Remove.
(abbrev_table::abbrev_table): No longer inline.
(ABBREV_HASH_SIZE): Remove.
(abbrev_table::m_abbrevs): Now an htab_up.
Change-Id: Icbaa8e49501f9c43218d6a81a7e8c4d3a77d65dc
Diffstat (limited to 'gdb/lm32-tdep.c')
0 files changed, 0 insertions, 0 deletions