aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2024-07-03 00:33:13 +0100
committergingerBill <bill@gingerbill.org>2024-07-03 00:33:13 +0100
commit075384b2bb9e55c1ed58463fefc6730947151e3a (patch)
treec8a8db572b3f1916839b38f63b01cbcdd92b0e1f /src
parent7e6acdf800a3811a561a5e942bb69c173c1c1868 (diff)
Fix `#soa` assignment bug
Diffstat (limited to 'src')
-rw-r--r--src/llvm_backend_general.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/llvm_backend_general.cpp b/src/llvm_backend_general.cpp
index 10276aa08..db89910dd 100644
--- a/src/llvm_backend_general.cpp
+++ b/src/llvm_backend_general.cpp
@@ -1011,7 +1011,7 @@ gb_internal void lb_emit_store(lbProcedure *p, lbValue ptr, lbValue value) {
return;
}
- Type *a = type_deref(ptr.type);
+ Type *a = type_deref(ptr.type, true);
if (LLVMIsNull(value.value)) {
LLVMTypeRef src_t = llvm_addr_type(p->module, ptr);
if (is_type_proc(a)) {