mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-13 04:38:24 +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:
@ -284,9 +284,11 @@ MachineFunction::extractStoreMemRefs(MachineInstr::mmo_iterator Begin,
|
||||
return std::make_pair(Result, Result + Num);
|
||||
}
|
||||
|
||||
#ifndef NDEBUG
|
||||
void MachineFunction::dump() const {
|
||||
print(dbgs());
|
||||
}
|
||||
#endif
|
||||
|
||||
StringRef MachineFunction::getName() const {
|
||||
assert(getFunction() && "No function!");
|
||||
@ -532,9 +534,11 @@ void MachineFrameInfo::print(const MachineFunction &MF, raw_ostream &OS) const{
|
||||
}
|
||||
}
|
||||
|
||||
#ifndef NDEBUG
|
||||
void MachineFrameInfo::dump(const MachineFunction &MF) const {
|
||||
print(MF, dbgs());
|
||||
}
|
||||
#endif
|
||||
|
||||
//===----------------------------------------------------------------------===//
|
||||
// MachineJumpTableInfo implementation
|
||||
@ -629,7 +633,9 @@ void MachineJumpTableInfo::print(raw_ostream &OS) const {
|
||||
OS << '\n';
|
||||
}
|
||||
|
||||
#ifndef NDEBUG
|
||||
void MachineJumpTableInfo::dump() const { print(dbgs()); }
|
||||
#endif
|
||||
|
||||
|
||||
//===----------------------------------------------------------------------===//
|
||||
@ -762,4 +768,6 @@ void MachineConstantPool::print(raw_ostream &OS) const {
|
||||
}
|
||||
}
|
||||
|
||||
#ifndef NDEBUG
|
||||
void MachineConstantPool::dump() const { print(dbgs()); }
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user