Adjust to ilist changes.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19923 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner
2005-01-29 18:41:12 +00:00
parent 38653f0ac8
commit 3cf8e6857e
6 changed files with 11 additions and 8 deletions

View File

@ -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(