tsan: switch to new memory_order constants (ABI compatible)
[oota-llvm.git] / lib / CodeGen / MachineLoopInfo.cpp
index 9f3829e3c0f3c7360918a9801bbc9ced84cf6839..27afeec1d9736ddc6f777271a7f310dc31eb8049 100644 (file)
@@ -74,6 +74,8 @@ MachineBasicBlock *MachineLoop::getBottomBlock() {
   return BotMBB;
 }
 
+#if !defined(NDEBUG) || defined(LLVM_ENABLE_DUMP)
 void MachineLoop::dump() const {
   print(dbgs());
 }
+#endif