[llvm-commits] [llvm] r92186 - /llvm/trunk/lib/Target/MSIL/MSILWriter.cpp

Bill Wendling isanbard at gmail.com
Sun Dec 27 17:42:12 PST 2009


Author: void
Date: Sun Dec 27 19:42:12 2009
New Revision: 92186

URL: http://llvm.org/viewvc/llvm-project?rev=92186&view=rev
Log:
Remove dead variable.

Modified:
    llvm/trunk/lib/Target/MSIL/MSILWriter.cpp

Modified: llvm/trunk/lib/Target/MSIL/MSILWriter.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/MSIL/MSILWriter.cpp?rev=92186&r1=92185&r2=92186&view=diff

==============================================================================
--- llvm/trunk/lib/Target/MSIL/MSILWriter.cpp (original)
+++ llvm/trunk/lib/Target/MSIL/MSILWriter.cpp Sun Dec 27 19:42:12 2009
@@ -556,8 +556,7 @@
 
 
 void MSILWriter::printPHICopy(const BasicBlock* Src, const BasicBlock* Dst) {
-  for (BasicBlock::const_iterator I = Dst->begin(), E = Dst->end();
-       isa<PHINode>(I); ++I) {
+  for (BasicBlock::const_iterator I = Dst->begin(); isa<PHINode>(I); ++I) {
     const PHINode* Phi = cast<PHINode>(I);
     const Value* Val = Phi->getIncomingValueForBlock(Src);
     if (isa<UndefValue>(Val)) continue;





More information about the llvm-commits mailing list