Skip to content

Commit

Permalink
fix noasserts build
Browse files Browse the repository at this point in the history
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@342247 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
adrian-prantl committed Sep 14, 2018
1 parent b804bf5 commit 71e8649
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/CodeGen/SelectionDAG/SelectionDAGDumper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -696,8 +696,10 @@ LLVM_DUMP_METHOD void SDDbgValue::dump(raw_ostream &OS) const {
if (kind==SDNODE)
OS << '(' << u.s.ResNo << ')';
OS << ":\"" << Var->getName() << '"';
#ifndef NDEBUG
if (Expr->getNumElements())
Expr->dump();
#endif
}

/// Return true if this node is so simple that we should just print it inline
Expand Down

0 comments on commit 71e8649

Please sign in to comment.