projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1abac0d
)
This is not ideal but unbreaks build failure.
author
Devang Patel
<dpatel@apple.com>
Mon, 17 Sep 2007 20:03:03 +0000
(20:03 +0000)
committer
Devang Patel
<dpatel@apple.com>
Mon, 17 Sep 2007 20:03:03 +0000
(20:03 +0000)
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
lib/CodeGen/SelectionDAG/SelectionDAG.cpp
patch
|
blob
|
history
diff --git
a/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
b/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
index 3744c4ad663a83bf49646933124a23f6e64e5cab..5a518994a010aff8acc75e511dccfc6f008fda15 100644
(file)
--- 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 =