diff options
| author | Manman Ren <mren@apple.com> | 2012-09-06 19:06:06 +0000 |
|---|---|---|
| committer | Manman Ren <mren@apple.com> | 2012-09-06 19:06:06 +0000 |
| commit | 742534c4dca641d1587a67f443e060af6ce2a2f5 (patch) | |
| tree | 32e8864e8b220abb99cc53d267d96acd5ef00a47 /llvm/lib/CodeGen/LiveInterval.cpp | |
| parent | 979780f68f7a81c090f3a45e8167f80ff94660a5 (diff) | |
| download | bcm5719-llvm-742534c4dca641d1587a67f443e060af6ce2a2f5.tar.gz bcm5719-llvm-742534c4dca641d1587a67f443e060af6ce2a2f5.zip | |
Release build: guard dump functions with "ifndef NDEBUG"
No functional change.
llvm-svn: 163339
Diffstat (limited to 'llvm/lib/CodeGen/LiveInterval.cpp')
| -rw-r--r-- | llvm/lib/CodeGen/LiveInterval.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/LiveInterval.cpp b/llvm/lib/CodeGen/LiveInterval.cpp index 50e181cba8e..3e9b485ca89 100644 --- a/llvm/lib/CodeGen/LiveInterval.cpp +++ b/llvm/lib/CodeGen/LiveInterval.cpp @@ -748,9 +748,11 @@ raw_ostream& llvm::operator<<(raw_ostream& os, const LiveRange &LR) { return os << '[' << LR.start << ',' << LR.end << ':' << LR.valno->id << ")"; } +#ifndef NDEBUG void LiveRange::dump() const { dbgs() << *this << "\n"; } +#endif void LiveInterval::print(raw_ostream &OS) const { if (empty()) @@ -783,9 +785,11 @@ void LiveInterval::print(raw_ostream &OS) const { } } +#ifndef NDEBUG void LiveInterval::dump() const { dbgs() << *this << "\n"; } +#endif #ifndef NDEBUG void LiveInterval::verify() const { |

