mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-14 15:19:33 +00:00
Make it easier to debug by exposing a temporary
llvm-svn: 7504
This commit is contained in:
parent
a18bb98cf5
commit
b33c691d7d
@ -20,10 +20,10 @@ MRegisterInfo::MRegisterInfo(const MRegisterDesc *D, unsigned NR,
|
||||
// Fill in the PhysRegClasses map
|
||||
for (MRegisterInfo::regclass_iterator I = regclass_begin(),
|
||||
E = regclass_end(); I != E; ++I)
|
||||
for (unsigned i=0; i < (*I)->getNumRegs(); ++i) {
|
||||
assert(PhysRegClasses[(*I)->getRegister(i)] == 0 &&
|
||||
"Register in more than one class?");
|
||||
PhysRegClasses[(*I)->getRegister(i)] = *I;
|
||||
for (unsigned i = 0, e = (*I)->getNumRegs(); i != e; ++i) {
|
||||
unsigned Reg = (*I)->getRegister(i);
|
||||
assert(PhysRegClasses[Reg] == 0 && "Register in more than one class?");
|
||||
PhysRegClasses[Reg] = *I;
|
||||
}
|
||||
|
||||
CallFrameSetupOpcode = CFSO;
|
||||
|
Loading…
Reference in New Issue
Block a user