Change SUnit's dump method to take a ScheduleDAG* instead of
[oota-llvm.git] / include / llvm / Constants.h
index efae25525d26b5e57f6053bc3e71a9e490d148d9..0706f61d12e05b97cd0e854f52f5b19aed429230 100644 (file)
@@ -262,11 +262,12 @@ public:
   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:
@@ -753,7 +754,7 @@ public:
   /// operands replaced with the specified values.  The specified operands must
   /// match count and type with the existing ones.
   Constant *getWithOperands(const std::vector<Constant*> &Ops) const {
-    return getWithOperands(&Ops[0], Ops.size());
+    return getWithOperands(&Ops[0], (unsigned)Ops.size());
   }
   Constant *getWithOperands(Constant* const *Ops, unsigned NumOps) const;