summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Analysis/PHITransAddr.cpp
diff options
context:
space:
mode:
authorManman Ren <mren@apple.com>2012-09-06 19:55:56 +0000
committerManman Ren <mren@apple.com>2012-09-06 19:55:56 +0000
commitc3366ccecb3ffa7eecf0c8a173e5fc8387a44b29 (patch)
treedb482bae56f5e3a06e1ad311ee506ecd1d088c02 /llvm/lib/Analysis/PHITransAddr.cpp
parent84ecc3481b7dc1c9a8264dd11ea91ff9dcd9dbd2 (diff)
downloadbcm5719-llvm-c3366ccecb3ffa7eecf0c8a173e5fc8387a44b29.tar.gz
bcm5719-llvm-c3366ccecb3ffa7eecf0c8a173e5fc8387a44b29.zip
Release build: guard dump functions with "ifndef NDEBUG"
No functional change. llvm-svn: 163344
Diffstat (limited to 'llvm/lib/Analysis/PHITransAddr.cpp')
-rw-r--r--llvm/lib/Analysis/PHITransAddr.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/Analysis/PHITransAddr.cpp b/llvm/lib/Analysis/PHITransAddr.cpp
index 38cb1c91f8f..d6a17ca725c 100644
--- a/llvm/lib/Analysis/PHITransAddr.cpp
+++ b/llvm/lib/Analysis/PHITransAddr.cpp
@@ -41,6 +41,7 @@ static bool CanPHITrans(Instruction *Inst) {
return false;
}
+#ifndef NDEBUG
void PHITransAddr::dump() const {
if (Addr == 0) {
dbgs() << "PHITransAddr: null\n";
@@ -50,6 +51,7 @@ void PHITransAddr::dump() const {
for (unsigned i = 0, e = InstInputs.size(); i != e; ++i)
dbgs() << " Input #" << i << " is " << *InstInputs[i] << "\n";
}
+#endif
static bool VerifySubExpr(Value *Expr,
OpenPOWER on IntegriCloud