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

Dale Johannesen dalej at apple.com
Thu Oct 9 16:01:08 PDT 2008


Author: johannes
Date: Thu Oct  9 18:01:07 2008
New Revision: 57330

URL: http://llvm.org/viewvc/llvm-project?rev=57330&view=rev
Log:
A file missed from previous checkin.


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=57330&r1=57329&r2=57330&view=diff

==============================================================================
--- llvm/trunk/include/llvm/Constants.h (original)
+++ llvm/trunk/include/llvm/Constants.h Thu Oct  9 18:01:07 2008
@@ -262,11 +262,12 @@
   bool isExactlyValue(const APFloat& V) const;
 
   bool isExactlyValue(double V) const {
+    bool ignored;
     // convert is not supported on this type
     if (&Val.getSemantics() == &APFloat::PPCDoubleDouble)
       return false;
     APFloat FV(V);
-    FV.convert(Val.getSemantics(), APFloat::rmNearestTiesToEven);
+    FV.convert(Val.getSemantics(), APFloat::rmNearestTiesToEven, &ignored);
     return isExactlyValue(FV);
   }
   /// Methods for support type inquiry through isa, cast, and dyn_cast:





More information about the llvm-commits mailing list