[llvm-commits] [poolalloc] r53331 - /poolalloc/trunk/include/dsa/DSNode.h

John Criswell criswell at uiuc.edu
Wed Jul 9 10:52:19 PDT 2008


Author: criswell
Date: Wed Jul  9 12:52:19 2008
New Revision: 53331

URL: http://llvm.org/viewvc/llvm-project?rev=53331&view=rev
Log:
Added a deleteNode() method to ilist_traits<llvm::DSNode> to fix compilation.

Modified:
    poolalloc/trunk/include/dsa/DSNode.h

Modified: poolalloc/trunk/include/dsa/DSNode.h
URL: http://llvm.org/viewvc/llvm-project/poolalloc/trunk/include/dsa/DSNode.h?rev=53331&r1=53330&r2=53331&view=diff

==============================================================================
--- poolalloc/trunk/include/dsa/DSNode.h (original)
+++ poolalloc/trunk/include/dsa/DSNode.h Wed Jul  9 12:52:19 2008
@@ -419,6 +419,7 @@
   static DSNode *getPrev(const DSNode *N) { return N->Prev; }
   static DSNode *getNext(const DSNode *N) { return N->Next; }
 
+  static void deleteNode(llvm::DSNode *V) { delete V; }
   static void setPrev(DSNode *N, DSNode *Prev) { N->Prev = Prev; }
   static void setNext(DSNode *N, DSNode *Next) { N->Next = Next; }
 





More information about the llvm-commits mailing list