projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
777a1cd
)
Add a forwarding method pop_front() that allows you to delete instructions
author
Brian Gaeke
<gaeke@uiuc.edu>
Tue, 8 Jun 2004 18:52:47 +0000
(18:52 +0000)
committer
Brian Gaeke
<gaeke@uiuc.edu>
Tue, 8 Jun 2004 18:52:47 +0000
(18:52 +0000)
from the beginning of a MBB.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14074
91177308
-0d34-0410-b5e6-
96231b3b80d8
include/llvm/CodeGen/MachineBasicBlock.h
patch
|
blob
|
history
diff --git
a/include/llvm/CodeGen/MachineBasicBlock.h
b/include/llvm/CodeGen/MachineBasicBlock.h
index 3dee00da3192af4a393624150f0e59864cf15ffa..62657037d905fe65abe401c3b3f22ccd63f02975 100644
(file)
--- a/
include/llvm/CodeGen/MachineBasicBlock.h
+++ b/
include/llvm/CodeGen/MachineBasicBlock.h
@@
-146,6
+146,7
@@
public:
/// it returns end()
iterator getFirstTerminator();
+ void pop_front() { Insts.pop_front(); }
void push_back(MachineInstr *MI) { Insts.push_back(MI); }
template<typename IT>
void insert(iterator I, IT S, IT E) { Insts.insert(I, S, E); }