diff options
author | Daniel Dunbar <daniel@zuster.org> | 2009-08-11 06:22:47 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2009-08-11 06:22:47 +0000 |
commit | d4d415a1e72dbcf4e123c2c383c9fdfc71b03f06 (patch) | |
tree | 497f6b9b3b219429360370310e5fa96897bcdff2 /lib/CodeGen/ExactHazardRecognizer.cpp | |
parent | d1fa3f58a06811d0364d52834d78d6ad9ff914bb (diff) | |
download | external_llvm-d4d415a1e72dbcf4e123c2c383c9fdfc71b03f06.zip external_llvm-d4d415a1e72dbcf4e123c2c383c9fdfc71b03f06.tar.gz external_llvm-d4d415a1e72dbcf4e123c2c383c9fdfc71b03f06.tar.bz2 |
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
Diffstat (limited to 'lib/CodeGen/ExactHazardRecognizer.cpp')
-rw-r--r-- | lib/CodeGen/ExactHazardRecognizer.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
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 @@ 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'; } } |