Unbreak build.
authorDaniel Dunbar <daniel@zuster.org>
Mon, 27 Jul 2009 21:47:07 +0000 (21:47 +0000)
committerDaniel Dunbar <daniel@zuster.org>
Mon, 27 Jul 2009 21:47:07 +0000 (21:47 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77256 91177308-0d34-0410-b5e6-96231b3b80d8

lib/VMCore/Constants.cpp

index 873a0f1dc27caf3544a71e11795ba87c04c15617..b2abdf3edc108cc396adb7487d7c1f1144485c5b 100644 (file)
@@ -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