Fix -Asserts warning.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@116030 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Daniel Dunbar 2010-10-08 02:07:22 +00:00
parent 7a56f33583
commit 6aa526bf76

View File

@ -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
}
//===----------------------------------------------------------------------===//