mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-21 03:29:40 +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) {
|
void MSILWriter::printPHICopy(const BasicBlock* Src, const BasicBlock* Dst) {
|
||||||
for (BasicBlock::const_iterator I = Dst->begin(), E = Dst->end();
|
for (BasicBlock::const_iterator I = Dst->begin(); isa<PHINode>(I); ++I) {
|
||||||
isa<PHINode>(I); ++I) {
|
|
||||||
const PHINode* Phi = cast<PHINode>(I);
|
const PHINode* Phi = cast<PHINode>(I);
|
||||||
const Value* Val = Phi->getIncomingValueForBlock(Src);
|
const Value* Val = Phi->getIncomingValueForBlock(Src);
|
||||||
if (isa<UndefValue>(Val)) continue;
|
if (isa<UndefValue>(Val)) continue;
|
||||||
|
Loading…
Reference in New Issue
Block a user