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