Clean up.
authorEvan Cheng <evan.cheng@apple.com>
Wed, 25 Apr 2007 21:34:08 +0000 (21:34 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Wed, 25 Apr 2007 21:34:08 +0000 (21:34 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36449 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/LiveVariables.cpp

index 19ea588cd03346be4c75eb7375ec5bb3b58f1a80..a2b1703ce690cc5dc0365d804a3792c5a8cc5920 100644 (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);
   }