[llvm-commits] [llvm] r50622 - /llvm/trunk/include/llvm/Constants.h

Chris Lattner sabre at nondot.org
Sun May 4 11:14:55 PDT 2008


Author: lattner
Date: Sun May  4 13:14:55 2008
New Revision: 50622

URL: http://llvm.org/viewvc/llvm-project?rev=50622&view=rev
Log:
remove obsolete method.

Modified:
    llvm/trunk/include/llvm/Constants.h

Modified: llvm/trunk/include/llvm/Constants.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Constants.h?rev=50622&r1=50621&r2=50622&view=diff

==============================================================================
--- llvm/trunk/include/llvm/Constants.h (original)
+++ llvm/trunk/include/llvm/Constants.h Sun May  4 13:14:55 2008
@@ -233,9 +233,6 @@
 public:
   /// get() - Static factory methods - Return objects of the specified value
   static ConstantFP *get(const APFloat &V);
-  static ConstantFP *get(const Type *Ty, const APFloat &V) {
-    return get(V);
-  }
 
   /// get() - This returns a constant fp for the specified value in the
   /// specified type.  This should only be used for simple constant values like





More information about the llvm-commits mailing list