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

Alkis Evlogimenos alkis at cs.uiuc.edu
Sat Aug 28 15:43:41 PDT 2004



Changes in directory llvm/lib/CodeGen:

LiveVariables.cpp updated: 1.41 -> 1.42
---
Log message:

Remove dead code.


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

Index: llvm/lib/CodeGen/LiveVariables.cpp
diff -u llvm/lib/CodeGen/LiveVariables.cpp:1.41 llvm/lib/CodeGen/LiveVariables.cpp:1.42
--- llvm/lib/CodeGen/LiveVariables.cpp:1.41	Thu Aug 26 17:23:32 2004
+++ llvm/lib/CodeGen/LiveVariables.cpp	Sat Aug 28 17:43:31 2004
@@ -102,7 +102,6 @@
   VRInfo.Kills.push_back(MI);
 
   // Update all dominating blocks to mark them known live.
-  const BasicBlock *BB = MBB->getBasicBlock();
   for (MachineBasicBlock::const_pred_iterator PI = MBB->pred_begin(),
          E = MBB->pred_end(); PI != E; ++PI)
     MarkVirtRegAliveInBlock(VRInfo, *PI);






More information about the llvm-commits mailing list