Clean up.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36449 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Evan Cheng 2007-04-25 21:34:08 +00:00
parent 3f3a17dd62
commit ade31f9f07

View File

@ -438,10 +438,8 @@ bool LiveVariables::runOnMachineFunction(MachineFunction &mf) {
HandlePhysRegDef(i, 0);
// 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();
//PhysRegPartUse[i] = NULL;
}
std::fill(PhysRegPartUse, PhysRegPartUse + NumRegs, (MachineInstr*)0);
}