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
This commit is contained in:
Manman Ren
2012-09-11 22:23:19 +00:00
parent 66b64bec60
commit b720be6a50
20 changed files with 27 additions and 27 deletions

View File

@ -279,7 +279,7 @@ void MachineScheduler::print(raw_ostream &O, const Module* m) const {
// unimplemented
}
#ifndef NDEBUG
#if !defined(NDEBUG) || defined(LLVM_ENABLE_DUMP)
void ReadyQueue::dump() {
dbgs() << Name << ": ";
for (unsigned i = 0, e = Queue.size(); i < e; ++i)