Remove at_least
The Pal was providing policy for overallocating a block of memory to achieve alignment make that part of the backend. The backend should be responsible for layout policy.
This commit is contained in:
committed by
Matthew Parkinson
parent
9df0101dfd
commit
5d0ae71423
@@ -32,6 +32,8 @@ namespace test
|
||||
size = 16;
|
||||
// store object
|
||||
objects[i] = (size_t*)alloc.alloc(size);
|
||||
if (objects[i] == nullptr)
|
||||
abort();
|
||||
// Store allocators size for this object
|
||||
*objects[i] = alloc.alloc_size(objects[i]);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user