diff --git a/lib/CodeGen/LiveVariables.cpp b/lib/CodeGen/LiveVariables.cpp index 19ea588cd03..a2b1703ce69 100644 --- a/lib/CodeGen/LiveVariables.cpp +++ b/lib/CodeGen/LiveVariables.cpp @@ -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); }