search for: gcflag

Displaying 1 result from an estimated 1 matches for "gcflag".

Did you mean: cflag
2011 Feb 21
2
[LLVMdev] A working garbage collector - finally :)
...itCast(addr); // A gcstate of 0 means that 'header' is the head of a statically // allocated object instance, in which case we need not do // anything since it will be traced as a static root. if (header.gcstate != 0) { if (header.gcstate & uint(GCFlags.RELOCATED)) != 0 { ptrAddr[0] = header.newLocation; } else { let size = header.gcstate & uint(~3); let newAddr:Address[ubyte] = toSpace.alloc(size); Memory.arrayCopy(newAddr, addr, size); header.newLocation = ptrAddr[0] = Me...