NFC: Extract MetaCommon from ChunkRecord

This commit is contained in:
Nathaniel Wesley Filardo
2021-10-17 16:27:29 +01:00
committed by Nathaniel Wesley Filardo
parent 5bb556cb68
commit f0b7dc4b04
4 changed files with 17 additions and 6 deletions

View File

@@ -541,7 +541,8 @@ namespace snmalloc
* a CapPtr<void, Chunk> to this region internally even while it's
* allocated.
*/
slab_record->chunk = capptr::Chunk<void>(p_tame.unsafe_ptr());
slab_record->meta_common.chunk =
capptr::Chunk<void>(p_tame.unsafe_ptr());
check_init(
[](
CoreAlloc* core_alloc,