introduced 'benign' pragma

This commit is contained in:
Araq 2014-10-25 22:01:23 +02:00
commit a639824e5e
14 changed files with 125 additions and 117 deletions

View file

@ -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.