mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-12 13:38:21 +00:00
Release build: guard dump functions with "ifndef NDEBUG"
No functional change. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@163339 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -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 {
|
||||
|
Reference in New Issue
Block a user