diff options
author | Manman Ren <mren@apple.com> | 2012-09-11 22:23:19 +0000 |
---|---|---|
committer | Manman Ren <mren@apple.com> | 2012-09-11 22:23:19 +0000 |
commit | b720be6a50f4e1b3280d2b029ee38dda14577525 (patch) | |
tree | ff0e2182d924a29c331f012eda1f3182f08e5451 /lib/CodeGen/LiveInterval.cpp | |
parent | 66b64bec6021e3f38af090429c7e41d1180df5a9 (diff) | |
download | llvm-b720be6a50f4e1b3280d2b029ee38dda14577525.tar.gz llvm-b720be6a50f4e1b3280d2b029ee38dda14577525.tar.bz2 llvm-b720be6a50f4e1b3280d2b029ee38dda14577525.tar.xz |
Release build: guard dump functions with
"#if !defined(NDEBUG) || defined(LLVM_ENABLE_DUMP)"
No functional change. Update r163339.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@163653 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/LiveInterval.cpp')
-rw-r--r-- | lib/CodeGen/LiveInterval.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/CodeGen/LiveInterval.cpp b/lib/CodeGen/LiveInterval.cpp index 3e9b485ca8..a0902be1fc 100644 --- a/lib/CodeGen/LiveInterval.cpp +++ b/lib/CodeGen/LiveInterval.cpp @@ -748,7 +748,7 @@ raw_ostream& llvm::operator<<(raw_ostream& os, const LiveRange &LR) { return os << '[' << LR.start << ',' << LR.end << ':' << LR.valno->id << ")"; } -#ifndef NDEBUG +#if !defined(NDEBUG) || defined(LLVM_ENABLE_DUMP) void LiveRange::dump() const { dbgs() << *this << "\n"; } @@ -785,7 +785,7 @@ void LiveInterval::print(raw_ostream &OS) const { } } -#ifndef NDEBUG +#if !defined(NDEBUG) || defined(LLVM_ENABLE_DUMP) void LiveInterval::dump() const { dbgs() << *this << "\n"; } |