diff options
| author | gingerBill <bill@gingerbill.org> | 2021-08-18 20:46:10 +0100 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2021-08-18 20:46:10 +0100 |
| commit | 08942714a2588357318114a8df6ea3b1417fc611 (patch) | |
| tree | c6626a40bb6637506b9a177b8e457a692f19be2e /src/main.cpp | |
| parent | 3c443babb204feeb0c7a3ed8530a19c80846e71e (diff) | |
Make `Arena` allocate virtual memory directory; make it use a `BlockingMutex`
Diffstat (limited to 'src/main.cpp')
| -rw-r--r-- | src/main.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/main.cpp b/src/main.cpp index 3b3cb49d3..5b391a8ae 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -156,8 +156,8 @@ i32 system_exec_command_line_app(char const *name, char const *fmt, ...) { i32 linker_stage(lbGenerator *gen) { - i32 result = 0; - Timings *timings = &global_timings; + i32 result = 0; + Timings *timings = &global_timings; String output_base = gen->output_base; @@ -2009,7 +2009,6 @@ int main(int arg_count, char const **arg_ptr) { arena_init(&permanent_arena, heap_allocator()); temp_allocator_init(&temporary_allocator_data, 16*1024*1024); arena_init(&global_ast_arena, heap_allocator()); - permanent_arena.use_mutex = true; init_string_buffer_memory(); init_string_interner(); |