summaryrefslogtreecommitdiffstats
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
commitae15479eb35d28356af5d0efe980e4757ea09c36 (patch)
treeff6db61cf80265fd55ca15825f72cbaaec201361
parent4b66b47a7ccde60c32f8004dd7e68239f9d67e1f (diff)
downloadbcm5719-llvm-ae15479eb35d28356af5d0efe980e4757ea09c36.tar.gz
bcm5719-llvm-ae15479eb35d28356af5d0efe980e4757ea09c36.zip
Unbreak build.
llvm-svn: 77256
-rw-r--r--llvm/lib/VMCore/Constants.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/llvm/lib/VMCore/Constants.cpp b/llvm/lib/VMCore/Constants.cpp
index 873a0f1dc27..b2abdf3edc1 100644
--- a/llvm/lib/VMCore/Constants.cpp
+++ b/llvm/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
OpenPOWER on IntegriCloud