mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-20 12:31:40 +00:00
Reverse iterator - should be incrementing rather than decrementing.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@150778 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
8f5e8c1cd6
commit
00195d828b
@ -904,9 +904,9 @@ MachineInstr* MachineInstr::getBundleStart() {
|
||||
if (!isInsideBundle())
|
||||
return this;
|
||||
MachineBasicBlock::reverse_instr_iterator MII(this);
|
||||
--MII;
|
||||
++MII;
|
||||
while (MII->isInsideBundle())
|
||||
--MII;
|
||||
++MII;
|
||||
return &*MII;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user