gc:destructors progress

This commit is contained in:
Andreas Rumpf 2019-09-16 23:54:21 +02:00
commit 62aa1a3cfe
6 changed files with 72 additions and 8 deletions

View file

@ -226,7 +226,7 @@ when not defined(useNimRtl):
cl: var ReprClosure) =
# we know that p is not nil here:
when declared(CellSet):
when defined(boehmGC) or defined(gogc) or defined(nogc):
when defined(boehmGC) or defined(gogc) or defined(nogc) or defined(gcDestructors):
var cell = cast[PCell](p)
else:
var cell = usrToCell(p)