forked from OSchip/llvm-project
Fix a -Asserts warning.
- Since the function is never called in NDEBUG mode, just dropped the DEBUG() uses here. llvm-svn: 78649
This commit is contained in:
parent
8f5c447bfa
commit
0c04f2b454
|
@ -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';
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue