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:
7a56f33
)
Fix -Asserts warning.
author
Daniel Dunbar
<daniel@zuster.org>
Fri, 8 Oct 2010 02:07:22 +0000
(
02:07
+0000)
committer
Daniel Dunbar
<daniel@zuster.org>
Fri, 8 Oct 2010 02:07:22 +0000
(
02:07
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@116030
91177308
-0d34-0410-b5e6-
96231b3b80d8
utils/TableGen/CodeGenDAGPatterns.cpp
patch
|
blob
|
history
diff --git
a/utils/TableGen/CodeGenDAGPatterns.cpp
b/utils/TableGen/CodeGenDAGPatterns.cpp
index 303aa6c450c295a8379e6327cf150e3fa937eb8b..61de0d2dd34e169db019982b119fcd067c049d54 100644
(file)
--- a/
utils/TableGen/CodeGenDAGPatterns.cpp
+++ b/
utils/TableGen/CodeGenDAGPatterns.cpp
@@
-473,6
+473,7
@@
void FindDepVars(TreePatternNode *N, MultipleUseVarSet &DepVars) {
}
//! Dump the dependent variable set:
+#ifndef NDEBUG
void DumpDepVars(MultipleUseVarSet &DepVars) {
if (DepVars.empty()) {
DEBUG(errs() << "<empty set>");
@@
-485,6
+486,8
@@
void DumpDepVars(MultipleUseVarSet &DepVars) {
DEBUG(errs() << "]");
}
}
+#endif
+
}
//===----------------------------------------------------------------------===//