projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8442d00
)
Watch out for empty BB.
author
Evan Cheng
<evan.cheng@apple.com>
Mon, 10 Aug 2009 08:10:13 +0000
(08:10 +0000)
committer
Evan Cheng
<evan.cheng@apple.com>
Mon, 10 Aug 2009 08:10:13 +0000
(08:10 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78562
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/ARM/Thumb2SizeReduction.cpp
patch
|
blob
|
history
diff --git
a/lib/Target/ARM/Thumb2SizeReduction.cpp
b/lib/Target/ARM/Thumb2SizeReduction.cpp
index 9a56f2fe86ccca580bd167057f01448e17c5a1b4..e3b29a4fb8672ca514081bf3ddf9c58d052b7995 100644
(file)
--- a/
lib/Target/ARM/Thumb2SizeReduction.cpp
+++ b/
lib/Target/ARM/Thumb2SizeReduction.cpp
@@
-343,7
+343,7
@@
bool Thumb2SizeReduce::ReduceMBB(MachineBasicBlock &MBB) {
}
MachineBasicBlock::iterator MII = MBB.begin(), E = MBB.end();
- MachineBasicBlock::iterator NextMII
= next(MII)
;
+ MachineBasicBlock::iterator NextMII;
for (; MII != E; MII = NextMII) {
NextMII = next(MII);