diff options
author | Jim Laskey <jlaskey@mac.com> | 2006-07-11 17:58:07 +0000 |
---|---|---|
committer | Jim Laskey <jlaskey@mac.com> | 2006-07-11 17:58:07 +0000 |
commit | e37fe9b3a1cadceb42ac27fa0718f5a10ea2f0e6 (patch) | |
tree | ccc61f6a1210980ae946c0179a7c415cf548102e /lib/Analysis/IPA/Andersens.cpp | |
parent | e2a78f2e3dcea4a087fd776aefc56e9edef840a9 (diff) |
Ensure that dump calls that are associated with asserts are removed from
non-debug build.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29105 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/IPA/Andersens.cpp')
-rw-r--r-- | lib/Analysis/IPA/Andersens.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/Analysis/IPA/Andersens.cpp b/lib/Analysis/IPA/Andersens.cpp index 11886936c8..fa9071b992 100644 --- a/lib/Analysis/IPA/Andersens.cpp +++ b/lib/Analysis/IPA/Andersens.cpp @@ -260,9 +260,8 @@ namespace { std::map<Value*, unsigned>::iterator I = ValueNodes.find(V); if (I == ValueNodes.end()) { - V->dump(); - assert(I != ValueNodes.end() && - "Value does not have a node in the points-to graph!"); + DEBUG(V->dump()); + assert(0 && "Value does not have a node in the points-to graph!"); } return &GraphNodes[I->second]; } |