From c7cfb7ebfcaf4e0f776d295ca274d4b58f20b800 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. llvm-svn: 42047 --- 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 =