[llvm-commits] CVS: llvm/include/llvm/Instructions.h
Chris Lattner
sabre at nondot.org
Mon Feb 12 16:59:03 PST 2007
Changes in directory llvm/include/llvm:
Instructions.h updated: 1.54 -> 1.55
---
Log message:
remove some dead methods.
---
Diffs of the changes: (+1 -10)
Instructions.h | 11 +----------
1 files changed, 1 insertion(+), 10 deletions(-)
Index: llvm/include/llvm/Instructions.h
diff -u llvm/include/llvm/Instructions.h:1.54 llvm/include/llvm/Instructions.h:1.55
--- llvm/include/llvm/Instructions.h:1.54 Sun Feb 11 23:00:35 2007
+++ llvm/include/llvm/Instructions.h Mon Feb 12 18:58:44 2007
@@ -345,10 +345,6 @@
/// list of indices. The first ctor can optionally insert before an existing
/// instruction, the second appends the new instruction to the specified
/// BasicBlock.
- GetElementPtrInst(Value *Ptr, const std::vector<Value*> &Idx,
- const std::string &Name = "", Instruction *InsertBefore =0);
- GetElementPtrInst(Value *Ptr, const std::vector<Value*> &Idx,
- const std::string &Name, BasicBlock *InsertAtEnd);
GetElementPtrInst(Value *Ptr, Value* const *Idx, unsigned NumIdx,
const std::string &Name = "", Instruction *InsertBefore =0);
GetElementPtrInst(Value *Ptr, Value* const *Idx, unsigned NumIdx,
@@ -383,11 +379,6 @@
Value* const *Idx, unsigned NumIdx,
bool AllowStructLeaf = false);
- static const Type *getIndexedType(const Type *Ptr,
- const std::vector<Value*> &Indices,
- bool AllowStructLeaf = false) {
- return getIndexedType(Ptr, &Indices[0], Indices.size(), AllowStructLeaf);
- }
static const Type *getIndexedType(const Type *Ptr, Value *Idx0, Value *Idx1,
bool AllowStructLeaf = false);
static const Type *getIndexedType(const Type *Ptr, Value *Idx);
@@ -698,7 +689,7 @@
///
class CallInst : public Instruction {
CallInst(const CallInst &CI);
- void init(Value *Func, const std::vector<Value*> &Params);
+ void init(Value *Func, Value* const *Params, unsigned NumParams);
void init(Value *Func, Value *Actual1, Value *Actual2);
void init(Value *Func, Value *Actual);
void init(Value *Func);
More information about the llvm-commits
mailing list