From ffe3612af4ba03269f9affd3d2552bdb78ed6824 Mon Sep 17 00:00:00 2001 From: Devang Patel Date: Mon, 17 Sep 2007 20:03:03 +0000 Subject: [PATCH] This is not ideal but unbreaks build failure. APInt::dump() is inside #ifndef NDEBUG, however SelectionDAG dump() routines are not. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@42047 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/CodeGen/SelectionDAG/SelectionDAG.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/CodeGen/SelectionDAG/SelectionDAG.cpp b/lib/CodeGen/SelectionDAG/SelectionDAG.cpp index 3744c4ad663..5a518994a01 100644 --- a/lib/CodeGen/SelectionDAG/SelectionDAG.cpp +++ b/lib/CodeGen/SelectionDAG/SelectionDAG.cpp @@ -3720,7 +3720,9 @@ void SDNode::dump(const SelectionDAG *G) const { cerr << "<" << CSDN->getValueAPF().convertToDouble() << ">"; else { cerr << "getValueAPF().convertToAPInt().dump(); +#endif cerr << ")>"; } } else if (const GlobalAddressSDNode *GADN =