Added: Assertion on allocations larger then page size
This commit is contained in:
parent
662254d4a4
commit
d08c70ae84
|
@ -49,6 +49,7 @@ arena_allocate(Arena *arena, u64 size)
|
||||||
{
|
{
|
||||||
// rhjr: TODO add support for allocations larger then a single page, in a
|
// rhjr: TODO add support for allocations larger then a single page, in a
|
||||||
// single allocation call.
|
// single allocation call.
|
||||||
|
ASSERT(0);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue
Block a user