aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-07-27 21:47:07 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-07-27 21:47:07 +0000
commit898fc43a345605beacba3ff21570bea39fe6df2b (patch)
tree94c431f236fdab1fd1aec690bfdb8466cb27694c /lib
parent7f4a9dd8d3ea5c391465f06d0bdb46ce15103bb3 (diff)
downloadexternal_llvm-898fc43a345605beacba3ff21570bea39fe6df2b.zip
external_llvm-898fc43a345605beacba3ff21570bea39fe6df2b.tar.gz
external_llvm-898fc43a345605beacba3ff21570bea39fe6df2b.tar.bz2
Unbreak build.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77256 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r--lib/VMCore/Constants.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/VMCore/Constants.cpp b/lib/VMCore/Constants.cpp
index 873a0f1..b2abdf3 100644
--- a/lib/VMCore/Constants.cpp
+++ b/lib/VMCore/Constants.cpp
@@ -242,7 +242,6 @@ Constant* ConstantInt::get(const Type* Ty, const APInt& V) {
// ConstantFP
//===----------------------------------------------------------------------===//
-#ifndef NDEBUG
static const fltSemantics *TypeToFloatSemantics(const Type *Ty) {
if (Ty == Type::FloatTy)
return &APFloat::IEEEsingle;
@@ -256,7 +255,6 @@ static const fltSemantics *TypeToFloatSemantics(const Type *Ty) {
assert(Ty == Type::PPC_FP128Ty && "Unknown FP format");
return &APFloat::PPCDoubleDouble;
}
-#endif
/// get() - This returns a constant fp for the specified value in the
/// specified type. This should only be used for simple constant values like