Fix a -Asserts warning.
- Since the function is never called in NDEBUG mode, just dropped the DEBUG()
uses here.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78649 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/CodeGen/ExactHazardRecognizer.cpp b/lib/CodeGen/ExactHazardRecognizer.cpp
index 7535caa..5a89d22 100644
--- a/lib/CodeGen/ExactHazardRecognizer.cpp
+++ b/lib/CodeGen/ExactHazardRecognizer.cpp
@@ -66,7 +66,7 @@
}
void ExactHazardRecognizer::dumpScoreboard() {
- DEBUG(errs() << "Scoreboard:\n");
+ errs() << "Scoreboard:\n";
unsigned last = ScoreboardDepth - 1;
while ((last > 0) && (Scoreboard[getFutureIndex(last)] == 0))
@@ -74,10 +74,10 @@
for (unsigned i = 0; i <= last; i++) {
unsigned FUs = Scoreboard[getFutureIndex(i)];
- DEBUG(errs() << "\t");
+ errs() << "\t";
for (int j = 31; j >= 0; j--)
- DEBUG(errs() << ((FUs & (1 << j)) ? '1' : '0'));
- DEBUG(errs() << '\n');
+ errs() << ((FUs & (1 << j)) ? '1' : '0');
+ errs() << '\n';
}
}