summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support/APInt.cpp
diff options
context:
space:
mode:
authorDevang Patel <dpatel@apple.com>2007-09-17 22:24:00 +0000
committerDevang Patel <dpatel@apple.com>2007-09-17 22:24:00 +0000
commit00064e1bab9f690454e2b98e24b5bbb875ab71fd (patch)
treeb1473da2673da1bdd9ae92a1cc2bfadee655df02 /llvm/lib/Support/APInt.cpp
parent3c996d9a6003721434c4fdf4ac1a8e8d1647b36d (diff)
downloadbcm5719-llvm-00064e1bab9f690454e2b98e24b5bbb875ab71fd.tar.gz
bcm5719-llvm-00064e1bab9f690454e2b98e24b5bbb875ab71fd.zip
Do not hide APInt::dump() inside #ifndef NDEBUG.
llvm-svn: 42068
Diffstat (limited to 'llvm/lib/Support/APInt.cpp')
-rw-r--r--llvm/lib/Support/APInt.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/llvm/lib/Support/APInt.cpp b/llvm/lib/Support/APInt.cpp
index 15de08ed055..4a4474dbe7e 100644
--- a/llvm/lib/Support/APInt.cpp
+++ b/llvm/lib/Support/APInt.cpp
@@ -21,9 +21,7 @@
#include <limits>
#include <cstring>
#include <cstdlib>
-#ifndef NDEBUG
#include <iomanip>
-#endif
using namespace llvm;
@@ -1999,7 +1997,6 @@ std::string APInt::toString(uint8_t radix, bool wantSigned) const {
return result;
}
-#ifndef NDEBUG
void APInt::dump() const
{
cerr << "APInt(" << BitWidth << ")=" << std::setbase(16);
@@ -2011,7 +2008,6 @@ void APInt::dump() const
cerr << " U(" << this->toStringUnsigned(10) << ") S("
<< this->toStringSigned(10) << ")" << std::setbase(10);
}
-#endif
// This implements a variety of operations on a representation of
// arbitrary precision, two's-complement, bignum integer values.
OpenPOWER on IntegriCloud