mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 03:33:20 +01:00
Watch out for empty BB.
llvm-svn: 78562
This commit is contained in:
parent
1ecffadc8d
commit
0a08d1bb9c
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user