Removed old note about pointer tagging

This commit is contained in:
Mattia Giambirtone 2023-05-01 16:07:41 +02:00
parent cd853bb140
commit dc195409c9
Signed by: nocturn9x
GPG Key ID: 8270F9F467971E59
1 changed files with 1 additions and 5 deletions

View File

@ -114,11 +114,7 @@ proc collect*(self: var PeonVM)
proc reallocate*(self: var PeonVM, p: pointer, oldSize: int, newSize: int): pointer =
## Simple wrapper around realloc with
## built-in garbage collection. Callers
## should keep in mind that the returned
## pointer is tagged (bit 63 is set to 1)
## and should be passed to untag() before
## being dereferenced or otherwise used
## built-in garbage collection
self.gc.bytesAllocated.current += newSize - oldSize
try:
when debugMem: