mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-09-14 15:25:25 +00:00
DebugInfo: Remove assertion (added in r215157) that's firing on a blocks
test in the test-suite while I investigate further. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@215217 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -1144,7 +1144,6 @@ bool DwarfDebug::addCurrentFnArgument(DbgVariable *Var, LexicalScope *Scope) {
|
|||||||
// arguments does the function have at source level.
|
// arguments does the function have at source level.
|
||||||
if (ArgNo > Size)
|
if (ArgNo > Size)
|
||||||
CurrentFnArguments.resize(ArgNo * 2);
|
CurrentFnArguments.resize(ArgNo * 2);
|
||||||
assert(!CurrentFnArguments[ArgNo - 1]);
|
|
||||||
CurrentFnArguments[ArgNo - 1] = Var;
|
CurrentFnArguments[ArgNo - 1] = Var;
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user