diff options
Diffstat (limited to 'lib/system')
-rw-r--r-- | lib/system/gc2.nim | 3 | ||||
-rw-r--r-- | lib/system/gc_ms.nim | 3 |
2 files changed, 0 insertions, 6 deletions
diff --git a/lib/system/gc2.nim b/lib/system/gc2.nim index 458cfda49..8fda6f6b2 100644 --- a/lib/system/gc2.nim +++ b/lib/system/gc2.nim @@ -136,9 +136,6 @@ proc usrToCell(usr: pointer): PCell {.inline.} = # convert pointer to userdata to object (=pointer to refcount) result = cast[PCell](cast[ByteAddress](usr)-%ByteAddress(sizeof(Cell))) -proc canBeCycleRoot(c: PCell): bool {.inline.} = - result = ntfAcyclic notin c.typ.flags - proc extGetCellType(c: pointer): PNimType {.compilerproc.} = # used for code generation concerning debugging result = usrToCell(c).typ diff --git a/lib/system/gc_ms.nim b/lib/system/gc_ms.nim index f0b25c189..64d8bc0c8 100644 --- a/lib/system/gc_ms.nim +++ b/lib/system/gc_ms.nim @@ -100,9 +100,6 @@ proc usrToCell(usr: pointer): PCell {.inline.} = # convert pointer to userdata to object (=pointer to refcount) result = cast[PCell](cast[ByteAddress](usr)-%ByteAddress(sizeof(Cell))) -proc canbeCycleRoot(c: PCell): bool {.inline.} = - result = ntfAcyclic notin c.typ.flags - proc extGetCellType(c: pointer): PNimType {.compilerproc.} = # used for code generation concerning debugging result = usrToCell(c).typ |