diff options
| author | gingerBill <bill@gingerbill.org> | 2021-09-13 01:39:41 +0100 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2021-09-13 01:39:41 +0100 |
| commit | 15c309b0b84c2ae36feea4220f0ccef28587db63 (patch) | |
| tree | a52b110d14e15e06c8caa71a7fa88a969adb4c8f /src/parser.cpp | |
| parent | 042dbda47f8a428c1be2b1af2937f0cbff109c11 (diff) | |
Make `permanent_allocator()` thread local
Diffstat (limited to 'src/parser.cpp')
| -rw-r--r-- | src/parser.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
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); |