diff options
| author | Nate Begeman <natebegeman@mac.com> | 2004-10-27 06:00:53 +0000 |
|---|---|---|
| committer | Nate Begeman <natebegeman@mac.com> | 2004-10-27 06:00:53 +0000 |
| commit | 0aafc3289c3043abd5e8f2efdd8b9fc3e830d97f (patch) | |
| tree | 0f1f8f74d23cf7c0a6f0daee54b5294d0164511f /lib | |
| parent | dc781222425c688e2c75a871f6abecaa30392b88 (diff) | |
| download | external_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 'lib')
| -rw-r--r-- | lib/Target/MRegisterInfo.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Target/MRegisterInfo.cpp b/lib/Target/MRegisterInfo.cpp index 5b8c8e1..bd7d924 100644 --- a/lib/Target/MRegisterInfo.cpp +++ b/lib/Target/MRegisterInfo.cpp @@ -26,6 +26,8 @@ MRegisterInfo::MRegisterInfo(const MRegisterDesc *D, unsigned NR, CallFrameDestroyOpcode = CFDO; } +MRegisterInfo::~MRegisterInfo() {} + std::vector<bool> MRegisterInfo::getAllocatableSet(MachineFunction &MF) const { std::vector<bool> Allocatable(NumRegs); for (MRegisterInfo::regclass_iterator I = regclass_begin(), |
