Put the functionality for printing a value to a raw_ostream as an
[oota-llvm.git] / lib / CodeGen / ScoreboardHazardRecognizer.cpp
index 5ca22b23fe0f19abf57249e4c7afa20cda624df1..2cd84d670aaa7a96234e73d1fa8c695574dbb4f3 100644 (file)
@@ -89,7 +89,7 @@ void ScoreboardHazardRecognizer::Reset() {
   ReservedScoreboard.reset();
 }
 
-#ifndef NDEBUG
+#if !defined(NDEBUG) || defined(LLVM_ENABLE_DUMP)
 void ScoreboardHazardRecognizer::Scoreboard::dump() const {
   dbgs() << "Scoreboard:\n";