[llvm-commits] CVS: llvm/include/llvm/Constants.h

Chris Lattner sabre at nondot.org
Mon Feb 19 12:01:44 PST 2007



Changes in directory llvm/include/llvm:

Constants.h updated: 1.127 -> 1.128
---
Log message:

llvm-gcc issue fixed, revert reversal :)


---
Diffs of the changes:  (+0 -14)

 Constants.h |   14 --------------
 1 files changed, 14 deletions(-)


Index: llvm/include/llvm/Constants.h
diff -u llvm/include/llvm/Constants.h:1.127 llvm/include/llvm/Constants.h:1.128
--- llvm/include/llvm/Constants.h:1.127	Mon Feb 19 13:22:52 2007
+++ llvm/include/llvm/Constants.h	Mon Feb 19 14:01:23 2007
@@ -550,10 +550,6 @@
   ///
   static Constant *getSizeOf(const Type *Ty);
 
-  /// getPtrPtrFromArrayPtr constant expr - given a pointer to a constant array,
-  /// return a pointer to a pointer of the array element type.
-  static Constant *getPtrPtrFromArrayPtr(Constant *C);
-
   /// ConstantExpr::get - Return a binary or shift operator constant expression,
   /// folding if possible.
   ///
@@ -593,16 +589,6 @@
   static Constant *getGetElementPtr(Constant *C,
                                     Value* const *IdxList, unsigned NumIdx);
   
-  // FIXME: Remove these.
-  static Constant *getGetElementPtr(Constant *C,
-                                    const std::vector<Constant*> &IdxList) {
-    return getGetElementPtr(C, &IdxList[0], IdxList.size());
-  }
-  static Constant *getGetElementPtr(Constant *C,
-                                    const std::vector<Value*> &IdxList) {
-    return getGetElementPtr(C, &IdxList[0], IdxList.size());
-  }
-  
   static Constant *getExtractElement(Constant *Vec, Constant *Idx);
   static Constant *getInsertElement(Constant *Vec, Constant *Elt,Constant *Idx);
   static Constant *getShuffleVector(Constant *V1, Constant *V2, Constant *Mask);






More information about the llvm-commits mailing list