mem: rename Allocator primitives to alloc_bytes/dealloc_bytes (Phase 4 naming pulled forward, Agra-approved)

This commit is contained in:
agra
2026-06-11 15:33:35 +03:00
parent ca5bd52262
commit 88bae3c9f5
58 changed files with 1536 additions and 1534 deletions

View File

@@ -17,8 +17,8 @@ main :: () -> s32 {
// xx tracker — operand is an identifier (lvalue), so the protocol
// borrows tracker's storage. No heap copy. Mutations propagate.
push Context.{ allocator = xx tracker, data = null } {
p := context.allocator.alloc(128);
context.allocator.dealloc(p);
p := context.allocator.alloc_bytes(128);
context.allocator.dealloc_bytes(p);
}
print("alloc_count = {}\n", tracker.alloc_count);