mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-19 19:12:56 +02:00
Capture more information in ctor
llvm-svn: 5190
This commit is contained in:
parent
105b7d86fb
commit
c004869af1
@ -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