mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-14 16:33:28 +00:00
Make it easier to debug by exposing a temporary
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7504 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
d3fd79f699
commit
b889b693e4
@ -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…
x
Reference in New Issue
Block a user