diff options
author | Araq <rumpf_a@web.de> | 2012-06-24 17:18:01 +0200 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2012-06-24 17:18:01 +0200 |
commit | fcd91a0cd6a4206d56d2efede6839f17b3b5dc4d (patch) | |
tree | 171d7b440618e929480fd353b72e40b4dd777003 /lib/system | |
parent | 022f3718a9bd2b23f083b9804ece335afde2c1ef (diff) | |
download | Nim-fcd91a0cd6a4206d56d2efede6839f17b3b5dc4d.tar.gz |
added gcleak4.nim test; fails in debug mode
Diffstat (limited to 'lib/system')
-rwxr-xr-x | lib/system/gc.nim | 2 |
1 files changed, 0 insertions, 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.} = |