diff options
author | Gordon Henriksen <gordonhenriksen@mac.com> | 2007-12-10 02:14:30 +0000 |
---|---|---|
committer | Gordon Henriksen <gordonhenriksen@mac.com> | 2007-12-10 02:14:30 +0000 |
commit | c8ddfa60b8711b95e3c46a73257cab15b3f7bbed (patch) | |
tree | 90d674eca01d05d52bdd394518dd2bc76db5c154 /lib/VMCore/InlineAsm.cpp | |
parent | 811c68cf7165252a167727f6e541d315a886bd4e (diff) | |
download | external_llvm-c8ddfa60b8711b95e3c46a73257cab15b3f7bbed.zip external_llvm-c8ddfa60b8711b95e3c46a73257cab15b3f7bbed.tar.gz external_llvm-c8ddfa60b8711b95e3c46a73257cab15b3f7bbed.tar.bz2 |
Reverting dtor devirtualization patch.
_sabre_: it has a major problem: by the time ~Value is run, all of the "parts" of the derived classes have been destroyed
_sabre_: the vtable lives to fight another day
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@44760 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/VMCore/InlineAsm.cpp')
-rw-r--r-- | lib/VMCore/InlineAsm.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/VMCore/InlineAsm.cpp b/lib/VMCore/InlineAsm.cpp index 4b42237..ca4ecad 100644 --- a/lib/VMCore/InlineAsm.cpp +++ b/lib/VMCore/InlineAsm.cpp @@ -17,6 +17,12 @@ #include <cctype> using namespace llvm; +// Implement the first virtual method in this class in this file so the +// InlineAsm vtable is emitted here. +InlineAsm::~InlineAsm() { +} + + // NOTE: when memoizing the function type, we have to be careful to handle the // case when the type gets refined. |