diff options
| author | gingerBill <bill@gingerbill.org> | 2020-04-17 13:50:28 +0100 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2020-04-17 13:50:28 +0100 |
| commit | 4438b3e7afebc88dc5b39c39ec55d648ad7b8904 (patch) | |
| tree | 3da655ccdaef13909254296fb07e8b8f66b997f7 /core/runtime/default_allocators.odin | |
| parent | 602a651613cc144ed4690924aee4bf8cc1602efc (diff) | |
Fix LLVM API backend for procedure "constant" values
Diffstat (limited to 'core/runtime/default_allocators.odin')
| -rw-r--r-- | core/runtime/default_allocators.odin | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/runtime/default_allocators.odin b/core/runtime/default_allocators.odin index a20283b5a..e49e7c6a3 100644 --- a/core/runtime/default_allocators.odin +++ b/core/runtime/default_allocators.odin @@ -50,7 +50,7 @@ default_temp_allocator_proc :: proc(allocator_data: rawptr, mode: Allocator_Mode context.allocator.data != allocator_data) { a = default_allocator(); } - default_temp_allocator_init(allocator, make([]byte, 1<<22, a), a); + default_temp_allocator_init(allocator, make([]byte, DEFAULT_SCRATCH_BACKING_SIZE, a), a); } switch mode { |