mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-27 22:55:15 +00:00
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:
parent
d1fa3f58a0
commit
d4d415a1e7
@ -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
Block a user