diff options
author | Araq <rumpf_a@web.de> | 2013-10-01 17:14:30 +0200 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2013-10-01 17:14:30 +0200 |
commit | f857a842fce160fa89161ba532e19f90e37c5711 (patch) | |
tree | 33bac1b71068bcd0f48c35c1a2b9c8a21d057900 /lib/system | |
parent | 1a792d46d0bdcdf16fa928a45aca65afbde7921d (diff) | |
download | Nim-f857a842fce160fa89161ba532e19f90e37c5711.tar.gz |
debug GC works now
Diffstat (limited to 'lib/system')
-rw-r--r-- | lib/system/gc.nim | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/system/gc.nim b/lib/system/gc.nim index b0f3f0b2c..c5d4d2aa2 100644 --- a/lib/system/gc.nim +++ b/lib/system/gc.nim @@ -46,10 +46,10 @@ const colorMask = 0b011 type TWalkOp = enum - waZctDecRef, waPush, waCycleDecRef, waMarkGray, waScan, waScanBlack, - waCollectWhite, waMarkGlobal, # part of the backup/debug mark&sweep waMarkPrecise, # part of the backup/debug mark&sweep + waZctDecRef, waPush, waCycleDecRef, waMarkGray, waScan, waScanBlack, + waCollectWhite, TFinalizer {.compilerproc.} = proc (self: pointer) {.nimcall.} # A ref type can have a finalizer that is called before the object's |