mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-04 17:56:53 +00:00
Remove pointless variable LastDef.
llvm-svn: 107135
This commit is contained in:
parent
4869e2b3f7
commit
1a45e3dbce
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user