1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 04:02:41 +01:00

This is not ideal but unbreaks build failure.

APInt::dump() is inside #ifndef NDEBUG, however SelectionDAG dump() routines are not.

llvm-svn: 42047
This commit is contained in:
Devang Patel 2007-09-17 20:03:03 +00:00
parent 9ce8a9d633
commit c7cfb7ebfc

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 =