forked from OSchip/llvm-project
DebugInfo: Remove assertion (added in r215157) that's firing on a blocks
test in the test-suite while I investigate further. llvm-svn: 215217
This commit is contained in:
parent
40f5446d84
commit
2b07c88668
|
@ -1144,7 +1144,6 @@ bool DwarfDebug::addCurrentFnArgument(DbgVariable *Var, LexicalScope *Scope) {
|
|||
// arguments does the function have at source level.
|
||||
if (ArgNo > Size)
|
||||
CurrentFnArguments.resize(ArgNo * 2);
|
||||
assert(!CurrentFnArguments[ArgNo - 1]);
|
||||
CurrentFnArguments[ArgNo - 1] = Var;
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue