From 16d42c6ac65e19aedfb4853724416cefda27134e Mon Sep 17 00:00:00 2001 From: Jim Laskey Date: Tue, 11 Jul 2006 18:25:13 +0000 Subject: It was pointed out that DEBUG() is only available with -debug. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29106 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Analysis/IPA/Andersens.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'lib/Analysis') diff --git a/lib/Analysis/IPA/Andersens.cpp b/lib/Analysis/IPA/Andersens.cpp index fa9071b..1fc70e6 100644 --- a/lib/Analysis/IPA/Andersens.cpp +++ b/lib/Analysis/IPA/Andersens.cpp @@ -260,7 +260,9 @@ namespace { std::map::iterator I = ValueNodes.find(V); if (I == ValueNodes.end()) { - DEBUG(V->dump()); +#ifndef NDEBUG + V->dump(); +#endif assert(0 && "Value does not have a node in the points-to graph!"); } return &GraphNodes[I->second]; -- cgit v1.1