diff options
| author | gingerBill <gingerBill@users.noreply.github.com> | 2021-08-26 16:06:37 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-08-26 16:06:37 +0100 |
| commit | 6dfab34aca9a645f6f8c1ddd220f663aa90de529 (patch) | |
| tree | 0436f1ac647625bfc1067c6419e831599a8ef811 /src/string.cpp | |
| parent | 98dd59e412314f089fc9558c5cf92a8a5df5213a (diff) | |
| parent | d3d805ffb3e859c1fa85865345c5adc557326c2d (diff) | |
Merge pull request #1101 from odin-lang/compiler-allocator-improvements
Compiler Allocator Improvements
Diffstat (limited to 'src/string.cpp')
| -rw-r--r-- | src/string.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/string.cpp b/src/string.cpp index 434c20d90..ca53fb2fc 100644 --- a/src/string.cpp +++ b/src/string.cpp @@ -1,11 +1,6 @@ -gb_global gbArena string_buffer_arena = {}; -gb_global gbAllocator string_buffer_allocator = {}; gb_global BlockingMutex string_buffer_mutex = {}; void init_string_buffer_memory(void) { - // NOTE(bill): This should be enough memory for file systems - gb_arena_init_from_allocator(&string_buffer_arena, heap_allocator(), gb_megabytes(1)); - string_buffer_allocator = gb_arena_allocator(&string_buffer_arena); mutex_init(&string_buffer_mutex); } |