Displaying 2 results from an estimated 2 matches for "refcnt_inc".
Did you mean:
refcount_inc
2006 Mar 14
0
[LLVMdev] Re: Garbage collection questions
...tic BlockHeader *scan;
/* items which became invalidated during the current collection, and
* thus must wait for the next cycle to be collected.
*/
static BlockHeader *deferred;
void defer(void **Root, void *Meta) __attribute__((always_inline));
void reset() __attribute__((always_inline));
void refcnt_inc(void *obj) __attribute__((always_inline));
void refcnt_dec(void *obj) __attribute__((always_inline));
/* if the object pointed to by the Root is scheduled for collection,
* defer it to the next collection cycle (this will continue until
* root falls out of scope).
*/
void defer(void **Root, vo...
2006 Mar 14
3
[LLVMdev] Re: Garbage collection questions
Again, sorry for the delay. :(
On Thu, 9 Mar 2006, Sandro Magi wrote:
> I've written a reference-counting garbage collector for LLVM, but I'm
> still unclear on a few things.
Cool!
> The following piece of code that appears on
> http://llvm.cs.uiuc.edu/docs/GarbageCollection.html is unclear:
>
> ;; As the pointer goes out of scope, store a null value into
> ;;