diff options
author | Dan Gohman <gohman@apple.com> | 2008-06-09 14:08:11 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2008-06-09 14:08:11 +0000 |
commit | e8e3b5585a6a587efeaac306fe966f7d6859d982 (patch) | |
tree | 08bbb89dee23ab913ff598c5f3e15d440b32bd1a /lib/Target/CppBackend/CPPBackend.cpp | |
parent | 8eab8a2798fe74c98703bdeac64661beea0b4dbc (diff) |
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
Diffstat (limited to 'lib/Target/CppBackend/CPPBackend.cpp')
-rw-r--r-- | lib/Target/CppBackend/CPPBackend.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/Target/CppBackend/CPPBackend.cpp b/lib/Target/CppBackend/CPPBackend.cpp index a16b720c50..22dd3058de 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]; |