[llvm] r215217 - DebugInfo: Remove assertion (added in r215157) that's firing on a blocks

David Blaikie dblaikie at gmail.com
Fri Aug 8 09:21:50 PDT 2014


Author: dblaikie
Date: Fri Aug  8 11:21:50 2014
New Revision: 215217

URL: http://llvm.org/viewvc/llvm-project?rev=215217&view=rev
Log:
DebugInfo: Remove assertion (added in r215157) that's firing on a blocks
test in the test-suite while I investigate further.

Modified:
    llvm/trunk/lib/CodeGen/AsmPrinter/DwarfDebug.cpp

Modified: llvm/trunk/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/AsmPrinter/DwarfDebug.cpp?rev=215217&r1=215216&r2=215217&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/AsmPrinter/DwarfDebug.cpp (original)
+++ llvm/trunk/lib/CodeGen/AsmPrinter/DwarfDebug.cpp Fri Aug  8 11:21:50 2014
@@ -1144,7 +1144,6 @@ bool DwarfDebug::addCurrentFnArgument(Db
   // 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;
 }





More information about the llvm-commits mailing list