mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-31 20:51:52 +01:00
Move destructor out of line to avoid vtable emission in every file that includes the header. Thanks to sabre.
llvm-svn: 17278
This commit is contained in:
parent
000424b69e
commit
2a64d462d9
@ -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
|
||||
|
@ -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(),
|
||||
|
Loading…
x
Reference in New Issue
Block a user