diff options
author | Chris Lattner <sabre@nondot.org> | 2005-01-29 18:41:12 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2005-01-29 18:41:12 +0000 |
commit | 3cf8e6857e1e5545048fc6fb6d834d50a7b7cf8e (patch) | |
tree | 235c7be41422adfe5d7047fade45386df6eeb31b /include/llvm/CodeGen/MachineBasicBlock.h | |
parent | 38653f0ac83b793142cd0f3000ba5b1667b08a80 (diff) |
Adjust to ilist changes.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19923 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/CodeGen/MachineBasicBlock.h')
-rw-r--r-- | include/llvm/CodeGen/MachineBasicBlock.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/llvm/CodeGen/MachineBasicBlock.h b/include/llvm/CodeGen/MachineBasicBlock.h index a7d031bad4..4cf4b35c66 100644 --- a/include/llvm/CodeGen/MachineBasicBlock.h +++ b/include/llvm/CodeGen/MachineBasicBlock.h @@ -45,7 +45,8 @@ public: static void setPrev(MachineInstr* N, MachineInstr* prev) { N->prev = prev; } static void setNext(MachineInstr* N, MachineInstr* next) { N->next = next; } - static MachineInstr* createNode(); + static MachineInstr* createSentinal(); + static void destroySentinal(MachineInstr *MI) { delete MI; } void addNodeToList(MachineInstr* N); void removeNodeFromList(MachineInstr* N); void transferNodesFromList( |