DebugInfo: Remove assertion (added in r215157) that's firing on a blocks
authorDavid Blaikie <dblaikie@gmail.com>
Fri, 8 Aug 2014 16:21:50 +0000 (16:21 +0000)
committerDavid Blaikie <dblaikie@gmail.com>
Fri, 8 Aug 2014 16:21:50 +0000 (16:21 +0000)
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

lib/CodeGen/AsmPrinter/DwarfDebug.cpp

index 7150a09cd4ca157b0813d95c7cb61881e1713079..cad477be8efd0825cb0a61884f6db87564d8731b 100644 (file)
@@ -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;
 }