mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-24 08:33:39 +00:00
Clean up.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36449 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
3f3a17dd62
commit
ade31f9f07
@ -438,10 +438,8 @@ bool LiveVariables::runOnMachineFunction(MachineFunction &mf) {
|
|||||||
HandlePhysRegDef(i, 0);
|
HandlePhysRegDef(i, 0);
|
||||||
|
|
||||||
// Clear some states between BB's. These are purely local information.
|
// Clear some states between BB's. These are purely local information.
|
||||||
for (unsigned i = 0; i != NumRegs; ++i) {
|
for (unsigned i = 0; i != NumRegs; ++i)
|
||||||
PhysRegPartDef[i].clear();
|
PhysRegPartDef[i].clear();
|
||||||
//PhysRegPartUse[i] = NULL;
|
|
||||||
}
|
|
||||||
std::fill(PhysRegPartUse, PhysRegPartUse + NumRegs, (MachineInstr*)0);
|
std::fill(PhysRegPartUse, PhysRegPartUse + NumRegs, (MachineInstr*)0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user