From: Bill Wendling Date: Thu, 1 Nov 2007 08:24:40 +0000 (+0000) Subject: Get rid of compilation warning during release builds X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=651dfd1ff8df13c9359fdca5147d795f8b0dc293;p=oota-llvm.git 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 --- diff --git a/include/llvm/Constants.h b/include/llvm/Constants.h index c8552395313..a2595904672 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; }