From fcd91a0cd6a4206d56d2efede6839f17b3b5dc4d Mon Sep 17 00:00:00 2001 From: Araq Date: Sun, 24 Jun 2012 17:18:01 +0200 Subject: [PATCH] added gcleak4.nim test; fails in debug mode --- lib/system/gc.nim | 2 -- 1 file changed, 2 deletions(-) diff --git a/lib/system/gc.nim b/lib/system/gc.nim index 883089c57..ea30754a6 100755 --- a/lib/system/gc.nim +++ b/lib/system/gc.nim @@ -100,8 +100,6 @@ proc usrToCell(usr: pointer): PCell {.inline.} = result = cast[PCell](cast[TAddress](usr)-%TAddress(sizeof(TCell))) proc canbeCycleRoot(c: PCell): bool {.inline.} = - if c.typ == nil: - echo "ARRGHHHHHHH" result = ntfAcyclic notin c.typ.flags proc extGetCellType(c: pointer): PNimType {.compilerproc.} =