Remove pernament arena

This commit is contained in:
Krzosa Karol
2022-12-31 18:02:48 +01:00
parent 55515ff420
commit ffd6bc5d23
3 changed files with 14 additions and 13 deletions

View File

@@ -520,7 +520,6 @@ struct Thread_Ctx{
};
thread_local Thread_Ctx thread_ctx;
global Arena pernament_arena;
#define REPORT_ALLOCATIONS 0
#define report_file_and_line() report__file_and_line(__FILE__, __LINE__)
@@ -564,7 +563,6 @@ CORE_Static void
thread_ctx_init(){
arena_init(thread_ctx.scratch, "Scratch1"_s);
arena_init(thread_ctx.scratch+1, "Scratch2"_s);
arena_init(&pernament_arena, "Pernament Arena"_s);
}
//-----------------------------------------------------------------------------