[llvm-commits] [llvm] r43608 - /llvm/trunk/include/llvm/Constants.h

Bill Wendling isanbard at gmail.com
Thu Nov 1 01:24:42 PDT 2007


Author: void
Date: Thu Nov  1 03:24:40 2007
New Revision: 43608

URL: http://llvm.org/viewvc/llvm-project?rev=43608&view=rev
Log:
Get rid of compilation warning during release builds

Modified:
    llvm/trunk/include/llvm/Constants.h

Modified: llvm/trunk/include/llvm/Constants.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Constants.h?rev=43608&r1=43607&r2=43608&view=diff

==============================================================================
--- llvm/trunk/include/llvm/Constants.h (original)
+++ llvm/trunk/include/llvm/Constants.h Thu Nov  1 03:24:40 2007
@@ -247,8 +247,8 @@
       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; }





More information about the llvm-commits mailing list