[llvm-commits] CVS: llvm/include/llvm/CodeGen/MachineBasicBlock.h MachineFunction.h
Chris Lattner
lattner at cs.uiuc.edu
Sat Jan 29 10:40:54 PST 2005
Changes in directory llvm/include/llvm/CodeGen:
MachineBasicBlock.h updated: 1.41 -> 1.42
MachineFunction.h updated: 1.47 -> 1.48
---
Log message:
Adjust to ilist changes.
---
Diffs of the changes: (+4 -2)
MachineBasicBlock.h | 3 ++-
MachineFunction.h | 3 ++-
2 files changed, 4 insertions(+), 2 deletions(-)
Index: llvm/include/llvm/CodeGen/MachineBasicBlock.h
diff -u llvm/include/llvm/CodeGen/MachineBasicBlock.h:1.41 llvm/include/llvm/CodeGen/MachineBasicBlock.h:1.42
--- llvm/include/llvm/CodeGen/MachineBasicBlock.h:1.41 Wed Oct 27 11:14:51 2004
+++ llvm/include/llvm/CodeGen/MachineBasicBlock.h Sat Jan 29 12:40:42 2005
@@ -45,7 +45,8 @@
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(
Index: llvm/include/llvm/CodeGen/MachineFunction.h
diff -u llvm/include/llvm/CodeGen/MachineFunction.h:1.47 llvm/include/llvm/CodeGen/MachineFunction.h:1.48
--- llvm/include/llvm/CodeGen/MachineFunction.h:1.47 Sun Jan 23 16:57:27 2005
+++ llvm/include/llvm/CodeGen/MachineFunction.h Sat Jan 29 12:40:42 2005
@@ -55,7 +55,8 @@
N->Next = next;
}
- static MachineBasicBlock* createNode();
+ static MachineBasicBlock* createSentinal();
+ static void destroySentinal(MachineBasicBlock *MBB) { delete MBB; }
void addNodeToList(MachineBasicBlock* N);
void removeNodeFromList(MachineBasicBlock* N);
void transferNodesFromList(iplist<MachineBasicBlock,
More information about the llvm-commits
mailing list