diff options
author | Simon Marchi <simon.marchi@efficios.com> | 2024-11-04 13:27:38 -0500 |
---|---|---|
committer | Simon Marchi <simon.marchi@polymtl.ca> | 2024-11-25 22:07:04 -0500 |
commit | bf8006d65e031e6c5bbf571a87d861c6fbf3527d (patch) | |
tree | 289b44c801d6077005f1d019b4471532aeaed348 /gdb/python/py-instruction.h | |
parent | 579dc13b7479181debb3a2d4a8f845e06cd67cfb (diff) | |
download | binutils-bf8006d65e031e6c5bbf571a87d861c6fbf3527d.zip binutils-bf8006d65e031e6c5bbf571a87d861c6fbf3527d.tar.gz binutils-bf8006d65e031e6c5bbf571a87d861c6fbf3527d.tar.bz2 |
Convert linespec.c to new hash table
This converts linespec.c to use the new hash table.
Note that more simplification could perhaps be done. Currently, the
collectors in this code insert an element into a set and then, if the
element has not been seen before, append it to a vector. If we know
the order does not matter, or if the results can be sorted later, we
could dispense with the vector. This would simplify the code some
more. (This technique is used in the vtable patch, later in this
series.)
Change-Id: Ie6828b1520d918d189ab5140dc8094a609152cf2
Co-Authored-By: Tom Tromey <tom@tromey.com>
Approved-By: Tom Tromey <tom@tromey.com>
Diffstat (limited to 'gdb/python/py-instruction.h')
0 files changed, 0 insertions, 0 deletions