aboutsummaryrefslogtreecommitdiff
path: root/opcodes/mips-dis.c
diff options
context:
space:
mode:
authorTom Tromey <tromey@adacore.com>2024-02-26 11:39:49 -0700
committerTom Tromey <tromey@adacore.com>2024-03-21 12:21:23 -0600
commit9069d69398649cd9a54e4dcac8548b10ece8a304 (patch)
tree3c9a979bfb2c77fce0113d01ff38d9787d9721e4 /opcodes/mips-dis.c
parent3984e52f7f4bca4641b2c59ba2730f71263ad97d (diff)
downloadfsf-binutils-gdb-9069d69398649cd9a54e4dcac8548b10ece8a304.zip
fsf-binutils-gdb-9069d69398649cd9a54e4dcac8548b10ece8a304.tar.gz
fsf-binutils-gdb-9069d69398649cd9a54e4dcac8548b10ece8a304.tar.bz2
Don't use virtual destructor in addrmap
The addrmap polymorphism is sort of "phony" in that there isn't really code in the tree that can be presented with either type. I haven't tried to fix this (though perhaps I may); but meanwhile it's handy for the next patch if addrmap_fixed has a trivial destructor. This patch achieves this by making the addrmap destructor non-virtual, and also making it protected so that objects of any of these types cannot be destroyed when only the base class is known.
Diffstat (limited to 'opcodes/mips-dis.c')
0 files changed, 0 insertions, 0 deletions