diff options
| author | Brian Gaeke <gaeke@uiuc.edu> | 2004-06-08 18:52:47 +0000 |
|---|---|---|
| committer | Brian Gaeke <gaeke@uiuc.edu> | 2004-06-08 18:52:47 +0000 |
| commit | 78d03b523fc275681bec88df11f04eee017ecbc7 (patch) | |
| tree | 2c2824c66e4e3a1845a4f1b36209b6fd03e70858 /llvm/include | |
| parent | 76b6426a8c9449a9e96e6752740509992f439e53 (diff) | |
| download | bcm5719-llvm-78d03b523fc275681bec88df11f04eee017ecbc7.tar.gz bcm5719-llvm-78d03b523fc275681bec88df11f04eee017ecbc7.zip | |
Add a forwarding method pop_front() that allows you to delete instructions
from the beginning of a MBB.
llvm-svn: 14074
Diffstat (limited to 'llvm/include')
| -rw-r--r-- | llvm/include/llvm/CodeGen/MachineBasicBlock.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/include/llvm/CodeGen/MachineBasicBlock.h b/llvm/include/llvm/CodeGen/MachineBasicBlock.h index 3dee00da319..62657037d90 100644 --- a/llvm/include/llvm/CodeGen/MachineBasicBlock.h +++ b/llvm/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); } |

