aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Support
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
commit8feb1f4467425d23ed74cce61e49f18a51a63421 (patch)
treed789e25e8511935fc3f0fe987dd67d17be1b1d86 /lib/Support
parent856585b6d63de9706584c27683f48ae858a6ca3c (diff)
downloadexternal_llvm-8feb1f4467425d23ed74cce61e49f18a51a63421.zip
external_llvm-8feb1f4467425d23ed74cce61e49f18a51a63421.tar.gz
external_llvm-8feb1f4467425d23ed74cce61e49f18a51a63421.tar.bz2
Do not hide APInt::dump() inside #ifndef NDEBUG.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@42068 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Support')
-rw-r--r--lib/Support/APInt.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/Support/APInt.cpp b/lib/Support/APInt.cpp
index 15de08e..4a4474d 100644
--- a/lib/Support/APInt.cpp
+++ b/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.