the Go GC - initial implementation
This commit is contained in:
parent
6820b2fea9
commit
50e96ad939
10 changed files with 213 additions and 16 deletions
|
|
@ -204,7 +204,7 @@ when not defined(useNimRtl):
|
|||
cl: var TReprClosure) =
|
||||
# we know that p is not nil here:
|
||||
when declared(TCellSet):
|
||||
when defined(boehmGC) or defined(nogc):
|
||||
when defined(boehmGC) or defined(gogc) or defined(nogc):
|
||||
var cell = cast[PCell](p)
|
||||
else:
|
||||
var cell = usrToCell(p)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue