[llvm-commits] CVS: llvm/lib/VMCore/BasicBlock.cpp

Vladimir Prus ghost at cs.msu.su
Thu Jun 8 09:03:25 PDT 2006



Changes in directory llvm/lib/VMCore:

BasicBlock.cpp updated: 1.69 -> 1.70
---
Log message:

Remove dead code.


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

 BasicBlock.cpp |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)


Index: llvm/lib/VMCore/BasicBlock.cpp
diff -u llvm/lib/VMCore/BasicBlock.cpp:1.69 llvm/lib/VMCore/BasicBlock.cpp:1.70
--- llvm/lib/VMCore/BasicBlock.cpp:1.69	Thu Jun  8 10:46:18 2006
+++ llvm/lib/VMCore/BasicBlock.cpp	Thu Jun  8 11:03:13 2006
@@ -123,7 +123,7 @@
 
 Instruction* BasicBlock::getFirstNonPHI()
 {
-    BasicBlock::iterator i = begin(), e = end();
+    BasicBlock::iterator i = begin();
     // All valid basic blocks should have a terminator,
     // which is not a PHINode. If we have invalid basic
     // block we'll get assert when dereferencing past-the-end






More information about the llvm-commits mailing list