[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/Support/Al...

John Criswell criswell at cs.uiuc.edu
Wed Jul 9 09:06:41 PDT 2008


Dear Dan,

I believe this patch broke the erase() method of class iplist.  I get 
the following error when I compile DSA:

/home/vadve/criswell/src/llvm22/include/llvm/ADT/ilist.h: In member 
function ‘llvm::ilist_iterator<ValueSubClass> llvm::iplist<NodeTy, 
Traits>::erase(llvm::ilist_iterator<ValueSubClass>) [with NodeTy = 
llvm::DSNode, Traits = llvm::ilist_traits<llvm::DSNode>]’:
/home/vadve/criswell/src/llvm22/include/llvm/ADT/ilist.h:455:   
instantiated from ‘llvm::ilist_iterator<ValueSubClass> 
llvm::iplist<NodeTy, Traits>::erase(llvm::ilist_iterator<ValueSubClass>, 
llvm::ilist_iterator<ValueSubClass>) [with NodeTy = llvm::DSNode, Traits 
= llvm::ilist_traits<llvm::DSNode>]’
/home/vadve/criswell/src/llvm22/include/llvm/ADT/ilist.h:459:   
instantiated from ‘void llvm::iplist<NodeTy, Traits>::clear() [with 
NodeTy = llvm::DSNode, Traits = llvm::ilist_traits<llvm::DSNode>]’
/home/vadve/criswell/src/llvm22/include/llvm/ADT/ilist.h:281:   
instantiated from ‘llvm::iplist<NodeTy, Traits>::~iplist() [with NodeTy 
= llvm::DSNode, Traits = llvm::ilist_traits<llvm::DSNode>]’
/home/vadve/criswell/src/llvm22/include/llvm/ADT/ilist.h:550:   
instantiated from here
/home/vadve/criswell/src/llvm22/include/llvm/ADT/ilist.h:383: error: 
‘deleteNode’ is not a member of ‘llvm::ilist_traits<llvm::DSNode>’

Is this something you can fix?

-- John T.

Dan Gohman wrote:
> Author: djg
> Date: Mon Jul  7 17:58:06 2008
> New Revision: 53210
>
> URL: http://llvm.org/viewvc/llvm-project?rev=53210&view=rev
> Log:
> Add some basic Pool-allocation infrastructure. This adds a Recycler class,
> for handling bookkeeping for deleted objects, as well as the alist class
> template, for keeping lists of objects allocated from Recyclers, and some
> related utilities.
>
> Added:
>     llvm/trunk/include/llvm/ADT/alist.h
>     llvm/trunk/include/llvm/ADT/alist_node.h
>     llvm/trunk/include/llvm/Support/Recycler.h
>     llvm/trunk/include/llvm/Support/RecyclingAllocator.h
> Modified:
>     llvm/trunk/include/llvm/ADT/ilist.h
>     llvm/trunk/include/llvm/SymbolTableListTraits.h
>     llvm/trunk/lib/Support/Allocator.cpp
>
> Added: llvm/trunk/include/llvm/ADT/alist.h
> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/ADT/alist.h?rev=53210&view=auto
>
>   




More information about the llvm-commits mailing list