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:
parent
38f12f932c
commit
5ee67379d9
@ -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(); }
|
||||
|
||||
// ---------------------------------------------------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user