diff options
-rw-r--r-- | include/llvm/Target/MRegisterInfo.h | 2 | ||||
-rw-r--r-- | lib/Target/MRegisterInfo.cpp | 2 |
2 files changed, 3 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 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(), |