mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-05-16 23:38:40 +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!");
|
assert(i < Operands.size() && "setOperand() out of range!");
|
||||||
Operands[i] = Val;
|
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(); }
|
inline unsigned getNumOperands() const { return Operands.size(); }
|
||||||
|
|
||||||
// ---------------------------------------------------------------------------
|
// ---------------------------------------------------------------------------
|
||||||
|
Loading…
x
Reference in New Issue
Block a user