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
This commit is contained in:
Daniel Dunbar 2009-08-11 06:22:47 +00:00
parent d1fa3f58a0
commit d4d415a1e7

View File

@ -66,7 +66,7 @@ unsigned ExactHazardRecognizer::getFutureIndex(unsigned offset) {
}
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 @@ void ExactHazardRecognizer::dumpScoreboard() {
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';
}
}