aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/MSIL
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2009-12-28 01:42:12 +0000
committerBill Wendling <isanbard@gmail.com>2009-12-28 01:42:12 +0000
commit3ef10858deb28748bef374bd4fcce4cc57045b26 (patch)
tree647fd3944137689feb81740053b5799a8553eacb /lib/Target/MSIL
parent67f9dc2559003e4d3132ce6e3f2a1b95200887bb (diff)
downloadexternal_llvm-3ef10858deb28748bef374bd4fcce4cc57045b26.zip
external_llvm-3ef10858deb28748bef374bd4fcce4cc57045b26.tar.gz
external_llvm-3ef10858deb28748bef374bd4fcce4cc57045b26.tar.bz2
Remove dead variable.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92186 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/MSIL')
-rw-r--r--lib/Target/MSIL/MSILWriter.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/Target/MSIL/MSILWriter.cpp b/lib/Target/MSIL/MSILWriter.cpp
index b1661fe..b3b91da 100644
--- a/lib/Target/MSIL/MSILWriter.cpp
+++ b/lib/Target/MSIL/MSILWriter.cpp
@@ -556,8 +556,7 @@ void MSILWriter::printSimpleInstruction(const char* Inst, const char* Operand) {
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;