Slab allocator compiler bug fixes

This commit is contained in:
2024-03-07 18:29:49 -05:00
parent f17aead3ea
commit aa47f0ead0
6 changed files with 91 additions and 75 deletions

View File

@ -65,8 +65,7 @@ files_buffer_allocator :: proc() -> Allocator {
}
general_slab_allocator :: proc() -> Allocator {
using state := get_state()
return slab_allocator( general_slab )
return slab_allocator( get_state().general_slab )
}
// TODO(Ed) : Implment host memory mapping api