Fix -Asserts warning.
authorDaniel Dunbar <daniel@zuster.org>
Wed, 11 Nov 2009 03:09:50 +0000 (03:09 +0000)
committerDaniel Dunbar <daniel@zuster.org>
Wed, 11 Nov 2009 03:09:50 +0000 (03:09 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@86794 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/AsmPrinter/DwarfDebug.cpp

index e7e596db05483ce4d743b3e5cd09566bfb494a71..3f26360f0b5f5d5070caded6afdca67debbee73b 100644 (file)
@@ -1565,6 +1565,7 @@ DIE *DwarfDebug::ConstructVariableDIE(DbgVariable *DV,
     DIScope DS(Scope->getScopeNode());
     DISubprogram InlinedSP = getDISubprogram(DS.getNode());
     DIE *&OriginSPDIE = ModuleCU->getDieMapSlotFor(InlinedSP.getNode());
+    (void) OriginSPDIE;
     assert (OriginSPDIE && "Unable to find Origin DIE for the SP!");
     DIE *AbsDIE = DV->getAbstractVariable()->getDIE();
     assert (AbsDIE && "Unable to find Origin DIE for the Variable!");