mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-11-01 00:17:01 +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:
@@ -63,6 +63,7 @@ void RegisterPressure::decrease(const TargetRegisterClass *RC,
|
||||
decreaseSetPressure(MaxSetPressure, RC, TRI);
|
||||
}
|
||||
|
||||
#ifndef NDEBUG
|
||||
void RegisterPressure::dump(const TargetRegisterInfo *TRI) {
|
||||
dbgs() << "Live In: ";
|
||||
for (unsigned i = 0, e = LiveInRegs.size(); i < e; ++i)
|
||||
@@ -78,6 +79,7 @@ void RegisterPressure::dump(const TargetRegisterInfo *TRI) {
|
||||
<< '\n';
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
/// Increase the current pressure as impacted by these physical registers and
|
||||
/// bump the high water mark if needed.
|
||||
|
||||
Reference in New Issue
Block a user