From 15c309b0b84c2ae36feea4220f0ccef28587db63 Mon Sep 17 00:00:00 2001 From: gingerBill Date: Mon, 13 Sep 2021 01:39:41 +0100 Subject: Make `permanent_allocator()` thread local --- src/parser.cpp | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/parser.cpp') diff --git a/src/parser.cpp b/src/parser.cpp index 722df0d90..e33531fad 100644 --- a/src/parser.cpp +++ b/src/parser.cpp @@ -4710,9 +4710,6 @@ ParseFileError init_ast_file(AstFile *f, String fullpath, TokenPos *err_pos) { block_size = ((block_size + page_size-1)/page_size) * page_size; block_size = gb_clamp(block_size, page_size, DEFAULT_MINIMUM_BLOCK_SIZE); f->arena.minimum_block_size = block_size; - #if 0 - arena_init_local_mutex(&f->arena); - #endif array_init(&f->comments, heap_allocator(), 0, 0); array_init(&f->imports, heap_allocator(), 0, 0); -- cgit v1.2.3