mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-03-15 07:33:18 +00:00
Watch out for empty BB.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78562 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
8442d00a0e
commit
65f2e7887a
@ -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…
x
Reference in New Issue
Block a user