[llvm-commits] CVS: llvm/include/llvm/Constants.h
Chris Lattner
sabre at nondot.org
Sun Feb 18 23:44:45 PST 2007
Changes in directory llvm/include/llvm:
Constants.h updated: 1.125 -> 1.126
---
Log message:
remove dead methods
---
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.125 llvm/include/llvm/Constants.h:1.126
--- llvm/include/llvm/Constants.h:1.125 Mon Feb 19 01:23:24 2007
+++ llvm/include/llvm/Constants.h Mon Feb 19 01:44:24 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