Release build: guard dump functions with "ifndef NDEBUG"

No functional change.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@163344 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Manman Ren
2012-09-06 19:55:56 +00:00
parent c8ecb401ca
commit cc77eece74
22 changed files with 60 additions and 0 deletions

View File

@@ -830,6 +830,7 @@ raw_ostream &operator<<(raw_ostream &OS, const MCFixup &AF) {
}
#ifndef NDEBUG
void MCFragment::dump() {
raw_ostream &OS = llvm::errs();
@@ -970,6 +971,7 @@ void MCAssembler::dump() {
}
OS << "]>\n";
}
#endif
// anchors for MC*Fragment vtables
void MCDataFragment::anchor() { }