diff options
author | Tom Tromey <tom@tromey.com> | 2022-05-28 09:08:47 -0600 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2022-07-28 14:16:50 -0600 |
commit | 8126c055e453a494a72a44c9cce39fa8ddf14607 (patch) | |
tree | 646eea618bb784a1a74bfd8515976e078ff6503a /gdb/prologue-value.c | |
parent | 08b8a139c9e8adcb4ec12a8a17e5836b8b5acb63 (diff) | |
download | gdb-8126c055e453a494a72a44c9cce39fa8ddf14607.zip gdb-8126c055e453a494a72a44c9cce39fa8ddf14607.tar.gz gdb-8126c055e453a494a72a44c9cce39fa8ddf14607.tar.bz2 |
Change registry to use less memory
The registry code creates "registry_data" objects that hold the free
function and the index; then the registry keys refer to this object.
However, only the index is really useful, and now that registries have
a private implementation, just the index can be stored and we can
reduce the memory use of registries a little bit. This also
simplifies the code somewhat.
Diffstat (limited to 'gdb/prologue-value.c')
0 files changed, 0 insertions, 0 deletions