mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-19 04:32:19 +00:00
MC: Put back the MCFragment vtable, so subclasses are destroyed properly (duh).
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@109649 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
f759841c28
commit
36880e704f
@ -87,6 +87,7 @@ protected:
|
||||
public:
|
||||
// Only for sentinel.
|
||||
MCFragment();
|
||||
virtual ~MCFragment();
|
||||
|
||||
FragmentType getKind() const { return Kind; }
|
||||
|
||||
|
@ -178,6 +178,9 @@ uint64_t MCAsmLayout::getSectionSize(const MCSectionData *SD) const {
|
||||
MCFragment::MCFragment() : Kind(FragmentType(~0)) {
|
||||
}
|
||||
|
||||
MCFragment::~MCFragment() {
|
||||
}
|
||||
|
||||
MCFragment::MCFragment(FragmentType _Kind, MCSectionData *_Parent)
|
||||
: Kind(_Kind), Parent(_Parent), Atom(0), EffectiveSize(~UINT64_C(0))
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user