summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Analysis
diff options
context:
space:
mode:
authorJim Laskey <jlaskey@mac.com>2006-07-11 18:25:13 +0000
committerJim Laskey <jlaskey@mac.com>2006-07-11 18:25:13 +0000
commitf7300b270672cec5488d659004f0c13acb8f8942 (patch)
tree78e479819813cb454278be8dee767ac7de3ee966 /llvm/lib/Analysis
parentc3d341ea9898bea9db1b9043d8f7b55d769d2629 (diff)
downloadbcm5719-llvm-f7300b270672cec5488d659004f0c13acb8f8942.tar.gz
bcm5719-llvm-f7300b270672cec5488d659004f0c13acb8f8942.zip
It was pointed out that DEBUG() is only available with -debug.
llvm-svn: 29106
Diffstat (limited to 'llvm/lib/Analysis')
-rw-r--r--llvm/lib/Analysis/IPA/Andersens.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/llvm/lib/Analysis/IPA/Andersens.cpp b/llvm/lib/Analysis/IPA/Andersens.cpp
index fa9071b9922..1fc70e62a35 100644
--- a/llvm/lib/Analysis/IPA/Andersens.cpp
+++ b/llvm/lib/Analysis/IPA/Andersens.cpp
@@ -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];
OpenPOWER on IntegriCloud