summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2010-10-08 02:07:22 +0000
committerDaniel Dunbar <daniel@zuster.org>2010-10-08 02:07:22 +0000
commitba66a81017a6230b68c8c62d02617a82eb461f45 (patch)
treeb0628c72f62a0d124fd38c2027db19a6aaa1b9e4
parentacf0ee57b64490ae82f46b055fb6cbe428e376f8 (diff)
downloadbcm5719-llvm-ba66a81017a6230b68c8c62d02617a82eb461f45.tar.gz
bcm5719-llvm-ba66a81017a6230b68c8c62d02617a82eb461f45.zip
Fix -Asserts warning.
llvm-svn: 116030
-rw-r--r--llvm/utils/TableGen/CodeGenDAGPatterns.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/utils/TableGen/CodeGenDAGPatterns.cpp b/llvm/utils/TableGen/CodeGenDAGPatterns.cpp
index 303aa6c450c..61de0d2dd34 100644
--- a/llvm/utils/TableGen/CodeGenDAGPatterns.cpp
+++ b/llvm/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
+
}
//===----------------------------------------------------------------------===//
OpenPOWER on IntegriCloud