AsmPrinter: Avoid a warning in NDEBUG, NFC

Should fix the -Werror release build:
http://lab.llvm.org:8011/builders/lld-x86_64-darwin13/builds/11113

llvm-svn: 238375
This commit is contained in:
Duncan P. N. Exon Smith 2015-05-27 23:02:36 +00:00
parent 6289892c20
commit a68b880d69
1 changed files with 1 additions and 0 deletions

View File

@ -107,6 +107,7 @@ unsigned DwarfFile::computeSizeAndOffset(DIE &Die, unsigned Offset) {
// Size the DIE children if any.
if (!Children.empty()) {
(void)Abbrev;
assert(Abbrev.hasChildren() && "Children flag not set");
for (auto &Child : Children)