mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-26 12:43:36 +01:00
[LiveDebugValues] Add #if !defined(NDEBUG) || defined(LLVM_ENABLE_DUMP)
to suppress -Wunused-function
This commit is contained in:
parent
61a3b2fb2b
commit
90b9ef1425
@ -2905,6 +2905,7 @@ void InstrRefBasedLDV::vlocDataflow(
|
|||||||
BlocksToExplore.clear();
|
BlocksToExplore.clear();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if !defined(NDEBUG) || defined(LLVM_ENABLE_DUMP)
|
||||||
void InstrRefBasedLDV::dump_mloc_transfer(
|
void InstrRefBasedLDV::dump_mloc_transfer(
|
||||||
const MLocTransferMap &mloc_transfer) const {
|
const MLocTransferMap &mloc_transfer) const {
|
||||||
for (auto &P : mloc_transfer) {
|
for (auto &P : mloc_transfer) {
|
||||||
@ -2913,6 +2914,7 @@ void InstrRefBasedLDV::dump_mloc_transfer(
|
|||||||
dbgs() << "Loc " << foo << " --> " << bar << "\n";
|
dbgs() << "Loc " << foo << " --> " << bar << "\n";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
void InstrRefBasedLDV::emitLocations(
|
void InstrRefBasedLDV::emitLocations(
|
||||||
MachineFunction &MF, LiveInsT SavedLiveIns, ValueIDNum **MInLocs,
|
MachineFunction &MF, LiveInsT SavedLiveIns, ValueIDNum **MInLocs,
|
||||||
|
Loading…
Reference in New Issue
Block a user