Fix build failure under NDEBUG.

llvm-svn: 267774
This commit is contained in:
Than McIntosh 2016-04-27 20:07:02 +00:00
parent 1783031f2d
commit 89a20099cf

View File

@ -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.