mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-06-13 07:32:23 -07:00
actually push new block to list
This commit is contained in:
@@ -124,9 +124,10 @@ arena_push(Arena *arena, U64 size, U64 align)
|
||||
new_block = arena_alloc(.reserve_size = res_size,
|
||||
.commit_size = cmt_size,
|
||||
.flags = current->flags);
|
||||
new_block->base_pos = current->base_pos + current->res;
|
||||
SLLStackPush_N(arena->current, new_block, prev);
|
||||
new_block->base_pos = current->base_pos + current->res;
|
||||
}
|
||||
|
||||
SLLStackPush_N(arena->current, new_block, prev);
|
||||
|
||||
current = new_block;
|
||||
pos_pre = AlignPow2(current->pos, align);
|
||||
|
||||
Reference in New Issue
Block a user