- 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
This commit is contained in:
Chris Lattner 2002-10-01 23:41:17 +00:00
parent c75ff9ac19
commit 1da2972d26

View File

@ -34,10 +34,6 @@ public:
assert(i < Operands.size() && "setOperand() out of range!");
Operands[i] = Val;
}
inline void eraseOperand(unsigned i) {
assert(i < Operands.size() && "setOperand() out of range!");
Operands.erase(Operands.begin() + i);
}
inline unsigned getNumOperands() const { return Operands.size(); }
// ---------------------------------------------------------------------------