projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
67f9dc2
)
Remove dead variable.
author
Bill Wendling
<isanbard@gmail.com>
Mon, 28 Dec 2009 01:42:12 +0000
(
01:42
+0000)
committer
Bill Wendling
<isanbard@gmail.com>
Mon, 28 Dec 2009 01:42:12 +0000
(
01:42
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92186
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/MSIL/MSILWriter.cpp
patch
|
blob
|
history
diff --git
a/lib/Target/MSIL/MSILWriter.cpp
b/lib/Target/MSIL/MSILWriter.cpp
index b1661fee5ab3a494eb8c708c44b91342c90f6712..b3b91daef905983bbe71f7424c43ee8908f7307b 100644
(file)
--- 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;