diff options
author | Daniel Dunbar <daniel@zuster.org> | 2010-07-28 20:28:45 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2010-07-28 20:28:45 +0000 |
commit | 36880e704f63d4c77a3c5a94047b5afdf79e82db (patch) | |
tree | 51fc6b9fcbc482f12cc85222f28d22d710e09e79 /lib/MC/MCAssembler.cpp | |
parent | f759841c288fe0cb2d60a2b739be95aba9e98996 (diff) | |
download | external_llvm-36880e704f63d4c77a3c5a94047b5afdf79e82db.zip external_llvm-36880e704f63d4c77a3c5a94047b5afdf79e82db.tar.gz external_llvm-36880e704f63d4c77a3c5a94047b5afdf79e82db.tar.bz2 |
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
Diffstat (limited to 'lib/MC/MCAssembler.cpp')
-rw-r--r-- | lib/MC/MCAssembler.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/MC/MCAssembler.cpp b/lib/MC/MCAssembler.cpp index c1365c1..b24c8ca 100644 --- a/lib/MC/MCAssembler.cpp +++ b/lib/MC/MCAssembler.cpp @@ -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)) { |