From 77ae4d358f53085075d97bcd6cb2a04145c2f8b4 Mon Sep 17 00:00:00 2001 From: Devang Patel Date: Mon, 17 Sep 2007 20:03:03 +0000 Subject: This is not ideal but unbreaks build failure. APInt::dump() is inside #ifndef NDEBUG, however SelectionDAG dump() routines are not. llvm-svn: 42047 --- llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'llvm/lib') diff --git a/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp b/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp index 3744c4ad663..5a518994a01 100644 --- a/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp +++ b/llvm/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 = -- cgit v1.2.3