From dc195409c9cf165e7d0648ee375eb97c404717b8 Mon Sep 17 00:00:00 2001 From: nocturn9x Date: Mon, 1 May 2023 16:07:41 +0200 Subject: [PATCH] Removed old note about pointer tagging --- src/backend/vm.nim | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/backend/vm.nim b/src/backend/vm.nim index 59d1b86..646c3db 100644 --- a/src/backend/vm.nim +++ b/src/backend/vm.nim @@ -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: