mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-12 17:32:19 +00:00
Remove dead variable.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92186 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
67f9dc2559
commit
3ef10858de
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user