mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-17 21:29:20 +00:00
Capture more information in ctor
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5190 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
fde4b51baa
commit
3ad7642901
@ -7,7 +7,8 @@
|
||||
#include "llvm/Target/MRegisterInfo.h"
|
||||
|
||||
MRegisterInfo::MRegisterInfo(const MRegisterDesc *D, unsigned NR,
|
||||
regclass_iterator RCB, regclass_iterator RCE)
|
||||
regclass_iterator RCB, regclass_iterator RCE,
|
||||
int CFSO, int CFDO)
|
||||
: Desc(D), NumRegs(NR), RegClassBegin(RCB), RegClassEnd(RCE) {
|
||||
assert(NumRegs < FirstVirtualRegister &&
|
||||
"Target has too many physical registers!");
|
||||
@ -24,6 +25,9 @@ MRegisterInfo::MRegisterInfo(const MRegisterDesc *D, unsigned NR,
|
||||
"Register in more than one class?");
|
||||
PhysRegClasses[(*I)->getRegister(i)] = *I;
|
||||
}
|
||||
|
||||
CallFrameSetupOpcode = CFSO;
|
||||
CallFrameDestroyOpcode = CFDO;
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user