mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-20 14:29:27 +00:00
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
This commit is contained in:
parent
dc78122242
commit
0aafc3289c
@ -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