diff options
author | Than McIntosh <thanm@google.com> | 2016-04-27 20:07:02 +0000 |
---|---|---|
committer | Than McIntosh <thanm@google.com> | 2016-04-27 20:07:02 +0000 |
commit | a54132090831711da0b2c96869b48539de2e09a1 (patch) | |
tree | 6a26f82afa7f68149181a1ccdddd59f91cdb4072 /llvm/lib/CodeGen/StackColoring.cpp | |
parent | c378a99ba52f3e2ec266fc2b5f0ef2d552da37a6 (diff) | |
download | bcm5719-llvm-a54132090831711da0b2c96869b48539de2e09a1.tar.gz bcm5719-llvm-a54132090831711da0b2c96869b48539de2e09a1.zip |
Fix build failure under NDEBUG.
llvm-svn: 267774
Diffstat (limited to 'llvm/lib/CodeGen/StackColoring.cpp')
-rw-r--r-- | llvm/lib/CodeGen/StackColoring.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/StackColoring.cpp b/llvm/lib/CodeGen/StackColoring.cpp index 54f0f2b9e08..ae6d7e285fb 100644 --- a/llvm/lib/CodeGen/StackColoring.cpp +++ b/llvm/lib/CodeGen/StackColoring.cpp @@ -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. |