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 | 0c04f2b45460e629f1c93e315f5d9badc5780d61 (patch) | |
tree | 521e00088a65284f43f402e071e5c8f8cddb21eb /llvm/lib/CodeGen | |
parent | 8f5c447bfa2356c4587c6d7d2c9dd6464e693fe3 (diff) | |
download | bcm5719-llvm-0c04f2b45460e629f1c93e315f5d9badc5780d61.tar.gz bcm5719-llvm-0c04f2b45460e629f1c93e315f5d9badc5780d61.zip |
Fix a -Asserts warning.
- Since the function is never called in NDEBUG mode, just dropped the DEBUG()
uses here.
llvm-svn: 78649
Diffstat (limited to 'llvm/lib/CodeGen')
-rw-r--r-- | llvm/lib/CodeGen/ExactHazardRecognizer.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/llvm/lib/CodeGen/ExactHazardRecognizer.cpp b/llvm/lib/CodeGen/ExactHazardRecognizer.cpp index 7535caa8121..5a89d223598 100644 --- a/llvm/lib/CodeGen/ExactHazardRecognizer.cpp +++ b/llvm/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'; } } |