Fix LLVM API backend for procedure "constant" values

This commit is contained in:
gingerBill
2020-04-17 13:50:28 +01:00
parent 602a651613
commit 4438b3e7af
3 changed files with 25 additions and 26 deletions
+1 -1
View File
@@ -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 {