1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 11:13:28 +01:00

- Remove the User::eraseOperand method which is never used, really

dangerous, and not something we want to expose.

llvm-svn: 4007
This commit is contained in:
Chris Lattner 2002-10-01 23:41:17 +00:00
parent 38f12f932c
commit 5ee67379d9

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(); }
// ---------------------------------------------------------------------------