diff options
author | Daniel Dunbar <daniel@zuster.org> | 2009-11-11 03:09:50 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2009-11-11 03:09:50 +0000 |
commit | 75b4d3562c70490144b4ba6fdc50ccc41b8316d1 (patch) | |
tree | 02c5cc65bd45dff1411b2c62dfea5018c95abb21 | |
parent | c7b9f5e7626641a493cabb0872e7b327d880d5ac (diff) | |
download | bcm5719-llvm-75b4d3562c70490144b4ba6fdc50ccc41b8316d1.tar.gz bcm5719-llvm-75b4d3562c70490144b4ba6fdc50ccc41b8316d1.zip |
Fix -Asserts warning.
llvm-svn: 86794
-rw-r--r-- | llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp b/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp index e7e596db054..3f26360f0b5 100644 --- a/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp +++ b/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp @@ -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!"); |