[llvm-commits] [llvm] r116030 - /llvm/trunk/utils/TableGen/CodeGenDAGPatterns.cpp
Daniel Dunbar
daniel at zuster.org
Thu Oct 7 19:07:22 PDT 2010
Author: ddunbar
Date: Thu Oct 7 21:07:22 2010
New Revision: 116030
URL: http://llvm.org/viewvc/llvm-project?rev=116030&view=rev
Log:
Fix -Asserts warning.
Modified:
llvm/trunk/utils/TableGen/CodeGenDAGPatterns.cpp
Modified: llvm/trunk/utils/TableGen/CodeGenDAGPatterns.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/TableGen/CodeGenDAGPatterns.cpp?rev=116030&r1=116029&r2=116030&view=diff
==============================================================================
--- llvm/trunk/utils/TableGen/CodeGenDAGPatterns.cpp (original)
+++ llvm/trunk/utils/TableGen/CodeGenDAGPatterns.cpp Thu Oct 7 21:07:22 2010
@@ -473,6 +473,7 @@
}
//! Dump the dependent variable set:
+#ifndef NDEBUG
void DumpDepVars(MultipleUseVarSet &DepVars) {
if (DepVars.empty()) {
DEBUG(errs() << "<empty set>");
@@ -485,6 +486,8 @@
DEBUG(errs() << "]");
}
}
+#endif
+
}
//===----------------------------------------------------------------------===//
More information about the llvm-commits
mailing list