aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm
diff options
context:
space:
mode:
authorNate Begeman <natebegeman@mac.com>2004-10-27 06:00:53 +0000
committerNate Begeman <natebegeman@mac.com>2004-10-27 06:00:53 +0000
commit0aafc3289c3043abd5e8f2efdd8b9fc3e830d97f (patch)
tree0f1f8f74d23cf7c0a6f0daee54b5294d0164511f /include/llvm
parentdc781222425c688e2c75a871f6abecaa30392b88 (diff)
downloadexternal_llvm-0aafc3289c3043abd5e8f2efdd8b9fc3e830d97f.zip
external_llvm-0aafc3289c3043abd5e8f2efdd8b9fc3e830d97f.tar.gz
external_llvm-0aafc3289c3043abd5e8f2efdd8b9fc3e830d97f.tar.bz2
Move destructor out of line to avoid vtable emission in every file that includes the header. Thanks to sabre.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17278 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm')
-rw-r--r--include/llvm/Target/MRegisterInfo.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/Target/MRegisterInfo.h b/include/llvm/Target/MRegisterInfo.h
index 340c811..c3cc768 100644
--- a/include/llvm/Target/MRegisterInfo.h
+++ b/include/llvm/Target/MRegisterInfo.h
@@ -124,7 +124,7 @@ protected:
MRegisterInfo(const MRegisterDesc *D, unsigned NR,
regclass_iterator RegClassBegin, regclass_iterator RegClassEnd,
int CallFrameSetupOpcode = -1, int CallFrameDestroyOpcode = -1);
- virtual ~MRegisterInfo() {}
+ virtual ~MRegisterInfo();
public:
enum { // Define some target independent constants