diff options
author | Manman Ren <mren@apple.com> | 2012-09-12 05:06:18 +0000 |
---|---|---|
committer | Manman Ren <mren@apple.com> | 2012-09-12 05:06:18 +0000 |
commit | 286c4dc355b8be6806081b23c3097485821c7642 (patch) | |
tree | 37e4b539af13a0213a562bf274c0a7821eff2af6 /lib/Analysis/PHITransAddr.cpp | |
parent | 0a16da445740ca6fcd7a7ca571c1917e77315904 (diff) | |
download | external_llvm-286c4dc355b8be6806081b23c3097485821c7642.zip external_llvm-286c4dc355b8be6806081b23c3097485821c7642.tar.gz external_llvm-286c4dc355b8be6806081b23c3097485821c7642.tar.bz2 |
Release build: guard dump functions with
"#if !defined(NDEBUG) || defined(LLVM_ENABLE_DUMP)"
No functional change. Update r163344.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@163679 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/PHITransAddr.cpp')
-rw-r--r-- | lib/Analysis/PHITransAddr.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Analysis/PHITransAddr.cpp b/lib/Analysis/PHITransAddr.cpp index d6a17ca..c35737e 100644 --- a/lib/Analysis/PHITransAddr.cpp +++ b/lib/Analysis/PHITransAddr.cpp @@ -41,7 +41,7 @@ static bool CanPHITrans(Instruction *Inst) { return false; } -#ifndef NDEBUG +#if !defined(NDEBUG) || defined(LLVM_ENABLE_DUMP) void PHITransAddr::dump() const { if (Addr == 0) { dbgs() << "PHITransAddr: null\n"; |