OSDN Git Service
(root)
/
android-x86
/
external-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9b8c91c
)
Remove pointless variable LastDef.
author
Duncan Sands
<baldrick@free.fr>
Tue, 29 Jun 2010 13:23:22 +0000
(13:23 +0000)
committer
Duncan Sands
<baldrick@free.fr>
Tue, 29 Jun 2010 13:23:22 +0000
(13:23 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@107135
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/ARM/Thumb2ITBlockPass.cpp
patch
|
blob
|
history
diff --git
a/lib/Target/ARM/Thumb2ITBlockPass.cpp
b/lib/Target/ARM/Thumb2ITBlockPass.cpp
index
e468c07
..
0faf509
100644
(file)
--- a/
lib/Target/ARM/Thumb2ITBlockPass.cpp
+++ b/
lib/Target/ARM/Thumb2ITBlockPass.cpp
@@
-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;
}
}