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 | a2b117c68a46c9cb4284c04ffdf56951b60653dc (patch) | |
tree | 6d11c3117a9ef5656d39fd19b103a2ced1f3fa66 /llvm/lib/Target/MRegisterInfo.cpp | |
parent | 70c2039b39506cc3277c909aeb2061bd95b0b2d0 (diff) | |
download | bcm5719-llvm-a2b117c68a46c9cb4284c04ffdf56951b60653dc.tar.gz bcm5719-llvm-a2b117c68a46c9cb4284c04ffdf56951b60653dc.zip |
Move destructor out of line to avoid vtable emission in every file that includes the header. Thanks to sabre.
llvm-svn: 17278
Diffstat (limited to 'llvm/lib/Target/MRegisterInfo.cpp')
-rw-r--r-- | llvm/lib/Target/MRegisterInfo.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/Target/MRegisterInfo.cpp b/llvm/lib/Target/MRegisterInfo.cpp index 5b8c8e1871e..bd7d9245e84 100644 --- a/llvm/lib/Target/MRegisterInfo.cpp +++ b/llvm/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(), |