adjust to ilist changes.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19924 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner
2005-01-29 18:41:25 +00:00
parent 3cf8e6857e
commit 9d5d7598db
2 changed files with 4 additions and 5 deletions

View File

@ -46,7 +46,7 @@ void ilist_traits<MachineBasicBlock>::removeNodeFromList(MachineBasicBlock* N) {
}
MachineInstr* ilist_traits<MachineInstr>::createNode() {
MachineInstr* ilist_traits<MachineInstr>::createSentinal() {
MachineInstr* dummy = new MachineInstr(0, 0);
LeakDetector::removeGarbageObject(dummy);
return dummy;