mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-01 00:33:09 +00:00
- 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:
parent
c75ff9ac19
commit
1da2972d26
@ -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