llvm.org GIT mirror llvm / 1da2972
- Remove the User::eraseOperand method which is never used, really dangerous, and not something we want to expose. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4007 91177308-0d34-0410-b5e6-96231b3b80d8 Chris Lattner 18 years ago
1 changed file(s) with 0 addition(s) and 4 deletion(s). Raw diff Collapse all Expand all
3232 inline void setOperand(unsigned i, Value *Val) {
3333 assert(i < Operands.size() && "setOperand() out of range!");
3434 Operands[i] = Val;
35 }
36 inline void eraseOperand(unsigned i) {
37 assert(i < Operands.size() && "setOperand() out of range!");
38 Operands.erase(Operands.begin() + i);
3935 }
4036 inline unsigned getNumOperands() const { return Operands.size(); }
4137