aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
diff options
context:
space:
mode:
authorDevang Patel <dpatel@apple.com>2007-09-17 20:03:03 +0000
committerDevang Patel <dpatel@apple.com>2007-09-17 20:03:03 +0000
commitffe3612af4ba03269f9affd3d2552bdb78ed6824 (patch)
tree31c731e1e0e500bbf261a9b85b2caf398a870d63 /lib/CodeGen/SelectionDAG/SelectionDAG.cpp
parent1abac0d725374cb6e527d2a735a5272a4f7913fa (diff)
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
Diffstat (limited to 'lib/CodeGen/SelectionDAG/SelectionDAG.cpp')
-rw-r--r--lib/CodeGen/SelectionDAG/SelectionDAG.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/CodeGen/SelectionDAG/SelectionDAG.cpp b/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
index 3744c4ad66..5a518994a0 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 << "<APFloat(";
+#ifndef NDEBUG
CSDN->getValueAPF().convertToAPInt().dump();
+#endif
cerr << ")>";
}
} else if (const GlobalAddressSDNode *GADN =