mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 20:32:21 +00:00
Fix break in r183446 - helps to increment the iterator in a loop
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@183454 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
6b10d85303
commit
babfebb4e8
@ -1645,8 +1645,9 @@ void DwarfDebug::addScopeVariable(LexicalScope *LS, DbgVariable *Var) {
|
||||
if (CurNum == 0)
|
||||
break;
|
||||
// A later indexed parameter has been found, insert immediately before it.
|
||||
if (CurNum < ArgNum)
|
||||
if (CurNum > ArgNum)
|
||||
break;
|
||||
++I;
|
||||
}
|
||||
Vars.insert(I, Var);
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user