aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2007-11-01 08:24:40 +0000
committerBill Wendling <isanbard@gmail.com>2007-11-01 08:24:40 +0000
commit13593cc4e4aafad46f668162c50fa3da9a2341c3 (patch)
tree94e24660b9539781b7f1a8d000d8adb136002e08
parenta575009c98c2d9249f6c090baf0c2484abd2d54d (diff)
downloadexternal_llvm-13593cc4e4aafad46f668162c50fa3da9a2341c3.zip
external_llvm-13593cc4e4aafad46f668162c50fa3da9a2341c3.tar.gz
external_llvm-13593cc4e4aafad46f668162c50fa3da9a2341c3.tar.bz2
Get rid of compilation warning during release builds
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@43608 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--include/llvm/Constants.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/llvm/Constants.h b/include/llvm/Constants.h
index c855239..a259590 100644
--- a/include/llvm/Constants.h
+++ b/include/llvm/Constants.h
@@ -247,8 +247,8 @@ public:
return isExactlyValue(APFloat(V));
else if (&Val.getSemantics() == &APFloat::IEEEsingle)
return isExactlyValue(APFloat((float)V));
- else
- assert(0);
+ assert(0);
+ return false;
}
/// Methods for support type inquiry through isa, cast, and dyn_cast:
static inline bool classof(const ConstantFP *) { return true; }