aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/llvm/Constants.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/Constants.h b/include/llvm/Constants.h
index c2a736eeb8..d6529c7d5f 100644
--- a/include/llvm/Constants.h
+++ b/include/llvm/Constants.h
@@ -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);