mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 11:42:57 +01:00
ConstantFP::get should be static.
llvm-svn: 49434
This commit is contained in:
parent
41d0309ce8
commit
02cc33d0ad
@ -240,7 +240,7 @@ public:
|
||||
/// get() - This returns a constant fp for the specified value in the
|
||||
/// specified type. This should only be used for simple constant values like
|
||||
/// 2.0/1.0 etc, that are known-valid both as double and as the target format.
|
||||
ConstantFP *get(const Type *Ty, double V);
|
||||
static ConstantFP *get(const Type *Ty, double V);
|
||||
|
||||
/// isValueValidForType - return true if Ty is big enough to represent V.
|
||||
static bool isValueValidForType(const Type *Ty, const APFloat& V);
|
||||
|
Loading…
Reference in New Issue
Block a user