forked from OSchip/llvm-project
Use getOperand() and remove getElementAt() function.
llvm-svn: 18612
This commit is contained in:
parent
db38fe94ae
commit
ca6a649c9d
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue