mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-13 22:58:50 +00:00
Fix build failure under NDEBUG.
llvm-svn: 267774
This commit is contained in:
parent
1783031f2d
commit
89a20099cf
@ -190,6 +190,8 @@ void StackColoring::getAnalysisUsage(AnalysisUsage &AU) const {
|
||||
MachineFunctionPass::getAnalysisUsage(AU);
|
||||
}
|
||||
|
||||
#ifndef NDEBUG
|
||||
|
||||
LLVM_DUMP_METHOD void StackColoring::dumpBV(const char *tag,
|
||||
const BitVector &BV) const {
|
||||
DEBUG(dbgs() << tag << " : { ");
|
||||
@ -224,6 +226,8 @@ LLVM_DUMP_METHOD void StackColoring::dumpIntervals() const {
|
||||
}
|
||||
}
|
||||
|
||||
#endif // not NDEBUG
|
||||
|
||||
unsigned StackColoring::collectMarkers(unsigned NumSlot) {
|
||||
unsigned MarkersFound = 0;
|
||||
// Scan the function to find all lifetime markers.
|
||||
|
Loading…
Reference in New Issue
Block a user