commit | 286c4dc355b8be6806081b23c3097485821c7642 | [log] [tgz] |
---|---|---|
author | Manman Ren <mren@apple.com> | Wed Sep 12 05:06:18 2012 +0000 |
committer | Manman Ren <mren@apple.com> | Wed Sep 12 05:06:18 2012 +0000 |
tree | 37e4b539af13a0213a562bf274c0a7821eff2af6 | |
parent | 0a16da445740ca6fcd7a7ca571c1917e77315904 [diff] [blame] |
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
diff --git a/lib/Transforms/Utils/AddrModeMatcher.cpp b/lib/Transforms/Utils/AddrModeMatcher.cpp index 1e6586b..0f9dfdd 100644 --- a/lib/Transforms/Utils/AddrModeMatcher.cpp +++ b/lib/Transforms/Utils/AddrModeMatcher.cpp
@@ -55,7 +55,7 @@ OS << ']'; } -#ifndef NDEBUG +#if !defined(NDEBUG) || defined(LLVM_ENABLE_DUMP) void ExtAddrMode::dump() const { print(dbgs()); dbgs() << '\n';