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
This commit is contained in:
Jim Laskey
2006-07-11 18:25:13 +00:00
parent e37fe9b3a1
commit 16d42c6ac6
4 changed files with 23 additions and 7 deletions

View File

@ -260,7 +260,9 @@ namespace {
std::map<Value*, unsigned>::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];