Make it easier to debug by exposing a temporary

llvm-svn: 7504
This commit is contained in:
Chris Lattner 2003-08-03 13:49:25 +00:00
parent a18bb98cf5
commit b33c691d7d

View File

@ -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;