[llvm-commits] CVS: llvm/lib/CodeGen/LiveVariables.cpp

Evan Cheng evan.cheng at apple.com
Wed Apr 25 14:34:28 PDT 2007



Changes in directory llvm/lib/CodeGen:

LiveVariables.cpp updated: 1.75 -> 1.76
---
Log message:

Clean up.

---
Diffs of the changes:  (+1 -3)

 LiveVariables.cpp |    4 +---
 1 files changed, 1 insertion(+), 3 deletions(-)


Index: llvm/lib/CodeGen/LiveVariables.cpp
diff -u llvm/lib/CodeGen/LiveVariables.cpp:1.75 llvm/lib/CodeGen/LiveVariables.cpp:1.76
--- llvm/lib/CodeGen/LiveVariables.cpp:1.75	Wed Apr 25 14:34:00 2007
+++ llvm/lib/CodeGen/LiveVariables.cpp	Wed Apr 25 16:34:08 2007
@@ -438,10 +438,8 @@
         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);
   }
 






More information about the llvm-commits mailing list