Rename ConstantFP's getInf to getInfinity.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@82823 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Dan Gohman
2009-09-25 23:40:21 +00:00
parent 4b2ebc1928
commit a23643d5b7
3 changed files with 4 additions and 4 deletions

View File

@ -258,7 +258,7 @@ public:
static Constant* get(const Type* Ty, const StringRef& Str);
static ConstantFP* get(LLVMContext &Context, const APFloat& V);
static ConstantFP* getNegativeZero(const Type* Ty);
static ConstantFP* getInf(const Type* Ty, bool negative = false);
static ConstantFP* getInfinity(const Type* Ty, bool negative = false);
/// isValueValidForType - return true if Ty is big enough to represent V.
static bool isValueValidForType(const Type *Ty, const APFloat& V);