aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 873a0f1dc2..b2abdf3edc 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