mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-03-08 19:36:02 +00:00
Remove pointless variable LastDef.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@107135 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
9b8c91ced0
commit
31a3a3ebaf
@ -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…
x
Reference in New Issue
Block a user