aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2002-04-18 14:42:27 +0000
committerChris Lattner <sabre@nondot.org>2002-04-18 14:42:27 +0000
commit8beec9da6cf69d1099a76b4c027f41537446b597 (patch)
treea07bd492e846c7de93a99f924fced779faff9d4a
parent2012d5e33ffa601eb1c58f6830017dce1a1774b3 (diff)
* StoreInst's shouldn't take names (they are _always_ void type)
* Remove two methods that are not used git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2281 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--include/llvm/iMemory.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/include/llvm/iMemory.h b/include/llvm/iMemory.h
index 35bce8ea3c..b14023625c 100644
--- a/include/llvm/iMemory.h
+++ b/include/llvm/iMemory.h
@@ -244,9 +244,8 @@ class StoreInst : public MemAccessInst {
Operands.push_back(Use(SI.Operands[i], this));
}
public:
- StoreInst(Value *Val, Value *Ptr, const std::vector<Value*> &Idx,
- const std::string &Name = "");
- StoreInst(Value *Val, Value *Ptr, const std::string &Name = "");
+ StoreInst(Value *Val, Value *Ptr, const std::vector<Value*> &Idx);
+ StoreInst(Value *Val, Value *Ptr);
virtual Instruction *clone() const { return new StoreInst(*this); }
virtual const char *getOpcodeName() const { return "store"; }
@@ -283,9 +282,6 @@ public:
virtual const char *getOpcodeName() const { return "getelementptr"; }
virtual unsigned getFirstIndexOperandNumber() const { return 1; }
- inline bool isArraySelector() const { return !isStructSelector(); }
- bool isStructSelector() const;
-
// getType - Overload to return most specific pointer type...
inline const PointerType *getType() const {
return cast<const PointerType>(Instruction::getType());