debug GC works now
This commit is contained in:
parent
1a792d46d0
commit
f857a842fc
1 changed files with 2 additions and 2 deletions
|
|
@ -46,10 +46,10 @@ const
|
||||||
colorMask = 0b011
|
colorMask = 0b011
|
||||||
type
|
type
|
||||||
TWalkOp = enum
|
TWalkOp = enum
|
||||||
waZctDecRef, waPush, waCycleDecRef, waMarkGray, waScan, waScanBlack,
|
|
||||||
waCollectWhite,
|
|
||||||
waMarkGlobal, # part of the backup/debug mark&sweep
|
waMarkGlobal, # part of the backup/debug mark&sweep
|
||||||
waMarkPrecise, # 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.}
|
TFinalizer {.compilerproc.} = proc (self: pointer) {.nimcall.}
|
||||||
# A ref type can have a finalizer that is called before the object's
|
# A ref type can have a finalizer that is called before the object's
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue