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
This commit is contained in:
Devang Patel
2007-09-17 20:03:03 +00:00
parent 1abac0d725
commit ffe3612af4

View File

@@ -3720,7 +3720,9 @@ void SDNode::dump(const SelectionDAG *G) const {
cerr << "<" << CSDN->getValueAPF().convertToDouble() << ">"; cerr << "<" << CSDN->getValueAPF().convertToDouble() << ">";
else { else {
cerr << "<APFloat("; cerr << "<APFloat(";
#ifndef NDEBUG
CSDN->getValueAPF().convertToAPInt().dump(); CSDN->getValueAPF().convertToAPInt().dump();
#endif
cerr << ")>"; cerr << ")>";
} }
} else if (const GlobalAddressSDNode *GADN = } else if (const GlobalAddressSDNode *GADN =