introduced 'benign' pragma
This commit is contained in:
parent
2dba3acfa9
commit
a639824e5e
14 changed files with 125 additions and 117 deletions
|
|
@ -514,7 +514,7 @@ proc getSmallChunk(a: var TMemRegion): PSmallChunk =
|
|||
result = cast[PSmallChunk](res)
|
||||
|
||||
# -----------------------------------------------------------------------------
|
||||
proc isAllocatedPtr(a: TMemRegion, p: pointer): bool
|
||||
proc isAllocatedPtr(a: TMemRegion, p: pointer): bool {.benign.}
|
||||
|
||||
proc allocInv(a: TMemRegion): bool =
|
||||
## checks some (not all yet) invariants of the allocator's data structures.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue