From: Daniel Dunbar Date: Fri, 8 Oct 2010 02:07:22 +0000 (+0000) Subject: Fix -Asserts warning. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=6aa526bf76ba74b79ebf4d96d2c1f12d59067530;p=oota-llvm.git Fix -Asserts warning. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@116030 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/utils/TableGen/CodeGenDAGPatterns.cpp b/utils/TableGen/CodeGenDAGPatterns.cpp index 303aa6c450c..61de0d2dd34 100644 --- 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() << ""); @@ -485,6 +486,8 @@ void DumpDepVars(MultipleUseVarSet &DepVars) { DEBUG(errs() << "]"); } } +#endif + } //===----------------------------------------------------------------------===//