diff options
| author | Taylan Kammer <taylan.kammer@gmail.com> | 2026-07-02 06:14:48 +0200 |
|---|---|---|
| committer | Taylan Kammer <taylan.kammer@gmail.com> | 2026-07-02 06:14:48 +0200 |
| commit | 86e77fc35b3a9146a31b872643a85f8f6a486a07 (patch) | |
| tree | 056a35081a7f5d87d351c710ae6f34ee7c0c5e9c /src/zisp/gc | |
| parent | b0043e83d3bf2f4d49bf1f153d65c48b4fabb4f6 (diff) | |
Exciting things are happening. - Vague Posting King
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(); |
