diff options
Diffstat (limited to 'lib')
-rwxr-xr-x | lib/system/gc.nim | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/system/gc.nim b/lib/system/gc.nim index 66b84a8c5..02782cdd0 100755 --- a/lib/system/gc.nim +++ b/lib/system/gc.nim @@ -230,6 +230,7 @@ proc decRef(c: PCell) {.inline.} = if --c.refcount: rtlAddZCT(c) elif canBeCycleRoot(c): + # XXX if 'incRef' does this check, it should be unnecessary in 'decRef' rtlAddCycleRoot(c) proc incRef(c: PCell) {.inline.} = |