Remove pointless variable LastDef.

llvm-svn: 107135
This commit is contained in:
Duncan Sands 2010-06-29 13:23:22 +00:00
parent 4869e2b3f7
commit 1a45e3dbce

View File

@ -141,7 +141,6 @@ void Thumb2ITBlockPass::FindITBlockRanges(MachineBasicBlock &MBB,
SmallVector<MachineInstr*,4> &FirstUses,
SmallVector<MachineInstr*,4> &LastUses) {
bool SeenUse = false;
MachineOperand *LastDef = 0;
MachineOperand *LastUse = 0;
MachineBasicBlock::iterator MBBI = MBB.begin(), E = MBB.end();
while (MBBI != E) {
@ -175,7 +174,6 @@ void Thumb2ITBlockPass::FindITBlockRanges(MachineBasicBlock &MBB,
LastUses.push_back(LastUse->getParent());
LastUse = 0;
}
LastDef = Def;
SeenUse = false;
}
}