added gcleak4.nim test; fails in debug mode
This commit is contained in:
parent
022f3718a9
commit
fcd91a0cd6
1 changed files with 0 additions and 2 deletions
|
|
@ -100,8 +100,6 @@ proc usrToCell(usr: pointer): PCell {.inline.} =
|
||||||
result = cast[PCell](cast[TAddress](usr)-%TAddress(sizeof(TCell)))
|
result = cast[PCell](cast[TAddress](usr)-%TAddress(sizeof(TCell)))
|
||||||
|
|
||||||
proc canbeCycleRoot(c: PCell): bool {.inline.} =
|
proc canbeCycleRoot(c: PCell): bool {.inline.} =
|
||||||
if c.typ == nil:
|
|
||||||
echo "ARRGHHHHHHH"
|
|
||||||
result = ntfAcyclic notin c.typ.flags
|
result = ntfAcyclic notin c.typ.flags
|
||||||
|
|
||||||
proc extGetCellType(c: pointer): PNimType {.compilerproc.} =
|
proc extGetCellType(c: pointer): PNimType {.compilerproc.} =
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue