Commit 51132465 authored by Tanya Lattner's avatar Tanya Lattner
Browse files

Fix build error.

llvm-svn: 58004
parent b45f183f
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -1142,8 +1142,7 @@ void CWriter::printConstant(Constant *CPV, bool Static) {
        // This is not awesome, but it at least makes the CBE output somewhat
        // useful.
        APFloat Tmp = FPC->getValueAPF();
        bool LosesInfo;
        Tmp.convert(APFloat::IEEEdouble, APFloat::rmTowardZero, &LosesInfo);
        Tmp.convert(APFloat::IEEEdouble, APFloat::rmTowardZero);
        V = Tmp.convertToDouble();
      }