1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 11:42:57 +01:00

* StoreInst's shouldn't take names (they are _always_ void type)

* Remove two methods that are not used

llvm-svn: 2281
This commit is contained in:
Chris Lattner 2002-04-18 14:42:27 +00:00
parent e4f2e7ecf4
commit e47ac70405

View File

@ -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());