[llvm-commits] [llvm] r53210 - in /llvm/trunk: include/llvm/ADT/alist.h include/llvm/ADT/alist_node.h include/llvm/ADT/ilist.h include/llvm/Support/Recycler.h include/llvm/Support/RecyclingAllocator.h include/llvm/SymbolTableListTraits.h lib/Suppor...

John Criswell criswell at cs.uiuc.edu
Wed Jul 9 10:51:28 PDT 2008


Dan Gohman wrote:
> Hi John,
>
> I added a new member function, deleteNode, to the ilist_traits concept,
> to allow traits classes to use custom deallocation strategies.
>
> Your ilist_traits<llvm::DSNode> presumably doesn't need special delete
> behavior, so adding this:
>
>      static void deleteNode(llvm::DSNode *V) { delete V; }
>
> to the definition of ilist_traits<llvm::DSNode> should be sufficient.
>   
That did it.

Thanks!

-- John T.




More information about the llvm-commits mailing list