diff options
| author | Chris Lattner <sabre@nondot.org> | 2002-04-18 14:42:27 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2002-04-18 14:42:27 +0000 |
| commit | b1c0335fc789b2d2b6509d82ac1b5d31c6220ab8 (patch) | |
| tree | 89f35dce64fb082c5a0963f4c07d04ce9824e705 /llvm | |
| parent | d6010abae88b91aef4f2108600ce7092ed3141cd (diff) | |
| download | bcm5719-llvm-b1c0335fc789b2d2b6509d82ac1b5d31c6220ab8.tar.gz bcm5719-llvm-b1c0335fc789b2d2b6509d82ac1b5d31c6220ab8.zip | |
* StoreInst's shouldn't take names (they are _always_ void type)
* Remove two methods that are not used
llvm-svn: 2281
Diffstat (limited to 'llvm')
| -rw-r--r-- | llvm/include/llvm/iMemory.h | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/llvm/include/llvm/iMemory.h b/llvm/include/llvm/iMemory.h index 35bce8ea3c0..b14023625ca 100644 --- a/llvm/include/llvm/iMemory.h +++ b/llvm/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()); |

