summary refs log tree commit diff stats
path: root/lib/system
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2012-06-24 17:18:01 +0200
committerAraq <rumpf_a@web.de>2012-06-24 17:18:01 +0200
commitfcd91a0cd6a4206d56d2efede6839f17b3b5dc4d (patch)
tree171d7b440618e929480fd353b72e40b4dd777003 /lib/system
parent022f3718a9bd2b23f083b9804ece335afde2c1ef (diff)
downloadNim-fcd91a0cd6a4206d56d2efede6839f17b3b5dc4d.tar.gz
added gcleak4.nim test; fails in debug mode
Diffstat (limited to 'lib/system')
-rwxr-xr-xlib/system/gc.nim2
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.} =