summaryrefslogtreecommitdiff
path: root/lib/VMCore
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2006-06-07 22:47:44 +0000
committerChris Lattner <sabre@nondot.org>2006-06-07 22:47:44 +0000
commit3bdac5171bd7d661dd54cc30d9cbc55a3039c6c0 (patch)
tree695fb7ab7b819b8f4713ae8e583c24ce32ba54ba /lib/VMCore
parent101cefa14a09c6e0fad5dd5ddbd84bdf7cef4286 (diff)
downloadllvm-3bdac5171bd7d661dd54cc30d9cbc55a3039c6c0.tar.gz
llvm-3bdac5171bd7d661dd54cc30d9cbc55a3039c6c0.tar.bz2
llvm-3bdac5171bd7d661dd54cc30d9cbc55a3039c6c0.tar.xz
Add a virtual dtor to the InlineAsm class so that the principle method of
the class can be defined in InlineAsm.cpp git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28718 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/VMCore')
-rw-r--r--lib/VMCore/InlineAsm.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/VMCore/InlineAsm.cpp b/lib/VMCore/InlineAsm.cpp
index b36d2128a6..0f820641b8 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.