[llvm-commits] [llvm] r77256 - /llvm/trunk/lib/VMCore/Constants.cpp

Daniel Dunbar daniel at zuster.org
Mon Jul 27 14:47:07 PDT 2009


Author: ddunbar
Date: Mon Jul 27 16:47:07 2009
New Revision: 77256

URL: http://llvm.org/viewvc/llvm-project?rev=77256&view=rev
Log:
Unbreak build.

Modified:
    llvm/trunk/lib/VMCore/Constants.cpp

Modified: llvm/trunk/lib/VMCore/Constants.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/VMCore/Constants.cpp?rev=77256&r1=77255&r2=77256&view=diff

==============================================================================
--- llvm/trunk/lib/VMCore/Constants.cpp (original)
+++ llvm/trunk/lib/VMCore/Constants.cpp Mon Jul 27 16:47:07 2009
@@ -242,7 +242,6 @@
 //                                ConstantFP
 //===----------------------------------------------------------------------===//
 
-#ifndef NDEBUG 
 static const fltSemantics *TypeToFloatSemantics(const Type *Ty) {
   if (Ty == Type::FloatTy)
     return &APFloat::IEEEsingle;
@@ -256,7 +255,6 @@
   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





More information about the llvm-commits mailing list