diff options
Diffstat (limited to 'src/zisp/gc')
| -rw-r--r-- | src/zisp/gc/ListPool.zig (renamed from src/zisp/gc/CodePool.zig) | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/zisp/gc/CodePool.zig b/src/zisp/gc/ListPool.zig index 56bf384..42bb50e 100644 --- a/src/zisp/gc/CodePool.zig +++ b/src/zisp/gc/ListPool.zig @@ -91,7 +91,7 @@ //! This shouldn't affect programs that simply load up all their modules, run //! forever without dynamic modification, and thus never deallocate code. //! -//! Otherwise, a simple solution is to use separate CodePool instances for +//! Otherwise, a simple solution is to use separate ListPool instances for //! modules, or just forget about all of this and rely on a compacting GC. //! @@ -106,8 +106,8 @@ const seg_stack = @import("../util/seg_stack.zig"); const Value = value.Value; const SegStack = seg_stack.SegStack; -const i2p = gc.codePtrFromIdx; -const p2i = gc.codeIdxFromPtr; +const i2p = gc.listPtrFromIdx; +const p2i = gc.listIdxFromPtr; const Self = @This(); |
