mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-17 21:29:20 +00:00
Add erase() method for a single element.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3849 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
0efb50761d
commit
46d6a1aeb5
@ -58,9 +58,10 @@ public:
|
||||
void insert(iterator I, IT S, IT E) { Insts.insert(I, S, E); }
|
||||
iterator insert(iterator I, MachineInstr *M) { return Insts.insert(I, M); }
|
||||
|
||||
// erase - Remove the specified range from the instruction list. This does
|
||||
// not delete in instructions removed.
|
||||
// erase - Remove the specified element or range from the instruction list.
|
||||
// These functions do not delete any instructions removed.
|
||||
//
|
||||
iterator erase(iterator I) { return Insts.erase(I); }
|
||||
iterator erase(iterator I, iterator E) { return Insts.erase(I, E); }
|
||||
|
||||
MachineInstr *pop_back() {
|
||||
|
@ -58,9 +58,10 @@ public:
|
||||
void insert(iterator I, IT S, IT E) { Insts.insert(I, S, E); }
|
||||
iterator insert(iterator I, MachineInstr *M) { return Insts.insert(I, M); }
|
||||
|
||||
// erase - Remove the specified range from the instruction list. This does
|
||||
// not delete in instructions removed.
|
||||
// erase - Remove the specified element or range from the instruction list.
|
||||
// These functions do not delete any instructions removed.
|
||||
//
|
||||
iterator erase(iterator I) { return Insts.erase(I); }
|
||||
iterator erase(iterator I, iterator E) { return Insts.erase(I, E); }
|
||||
|
||||
MachineInstr *pop_back() {
|
||||
|
Loading…
Reference in New Issue
Block a user