summary refs log tree commit diff stats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rwxr-xr-xlib/system/gc.nim1
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.} =