search for: clear_point

Displaying 2 results from an estimated 2 matches for "clear_point".

Did you mean: clear_pointer
2006 Mar 14
0
[LLVMdev] Re: Garbage collection questions
...g info */ union { unsigned count; struct Header *next; } field; } BlockHeader; /* flag indicates the union contains a pointer */ #define POINTER_FLAG 0x01 #define IS_POINTER(header) (header->flags & POINTER_FLAG) #define SET_POINTER(header) header->flags |= POINTER_FLAG; #define CLEAR_POINTER(header) header->flags &= ~POINTER_FLAG; #define LINK(root, block) \ block->field.next = root;\ root = block; #define UNLINK(entry, prev) \ prev->field.next = entry->field.next; #define FIND(head, entry, i) \ for (i=head; i != NULL && i->field.next == entry; i=i->f...
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 > ;;