Use getOperand() and remove getElementAt() function.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18612 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Alkis Evlogimenos 2004-12-08 03:45:20 +00:00
parent d37a75b9be
commit 57ebabe9dc

View File

@ -418,14 +418,6 @@ public:
return false;
}
Constant* getElementAt(unsigned i) const {
return cast<Constant>(Operands[i]);
}
unsigned getNumElements() const {
return Operands.size();
}
virtual void destroyConstant();
virtual void replaceUsesOfWithOnConstant(Value *From, Value *To,
bool DisableChecking = false);