From: Dan Gohman Date: Mon, 9 Jun 2008 14:08:11 +0000 (+0000) Subject: Update the CPP backend for the ConstantFP::get API change. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=e8e3b5585a6a587efeaac306fe966f7d6859d982;p=oota-llvm.git Update the CPP backend for the ConstantFP::get API change. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@52144 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Target/CppBackend/CPPBackend.cpp b/lib/Target/CppBackend/CPPBackend.cpp index a16b720c50b..22dd3058de0 100644 --- a/lib/Target/CppBackend/CPPBackend.cpp +++ b/lib/Target/CppBackend/CPPBackend.cpp @@ -221,10 +221,6 @@ namespace { if (CFP->getType() == Type::FloatTy) APF.convert(APFloat::IEEEdouble, APFloat::rmNearestTiesToEven); Out << "ConstantFP::get("; - if (CFP->getType() == Type::DoubleTy) - Out << "Type::DoubleTy, "; - else - Out << "Type::FloatTy, "; Out << "APFloat("; #if HAVE_PRINTF_A char Buffer[100];