aboutsummaryrefslogtreecommitdiff
path: root/src/string.cpp
diff options
context:
space:
mode:
authorgingerBill <gingerBill@users.noreply.github.com>2021-08-26 16:06:37 +0100
committerGitHub <noreply@github.com>2021-08-26 16:06:37 +0100
commit6dfab34aca9a645f6f8c1ddd220f663aa90de529 (patch)
tree0436f1ac647625bfc1067c6419e831599a8ef811 /src/string.cpp
parent98dd59e412314f089fc9558c5cf92a8a5df5213a (diff)
parentd3d805ffb3e859c1fa85865345c5adc557326c2d (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.cpp5
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);
}