[llvm-commits] [llvm] r42047 - /llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
Devang Patel
dpatel at apple.com
Mon Sep 17 13:03:03 PDT 2007
Author: dpatel
Date: Mon Sep 17 15:03:03 2007
New Revision: 42047
URL: http://llvm.org/viewvc/llvm-project?rev=42047&view=rev
Log:
This is not ideal but unbreaks build failure.
APInt::dump() is inside #ifndef NDEBUG, however SelectionDAG dump() routines are not.
Modified:
llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
Modified: llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAG.cpp?rev=42047&r1=42046&r2=42047&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAG.cpp (original)
+++ llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAG.cpp Mon Sep 17 15:03:03 2007
@@ -3720,7 +3720,9 @@
cerr << "<" << CSDN->getValueAPF().convertToDouble() << ">";
else {
cerr << "<APFloat(";
+#ifndef NDEBUG
CSDN->getValueAPF().convertToAPInt().dump();
+#endif
cerr << ")>";
}
} else if (const GlobalAddressSDNode *GADN =
More information about the llvm-commits
mailing list