mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-06 07:38:48 +00:00
Fix #soa assignment bug
This commit is contained in:
@@ -1011,7 +1011,7 @@ gb_internal void lb_emit_store(lbProcedure *p, lbValue ptr, lbValue value) {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
Type *a = type_deref(ptr.type);
|
Type *a = type_deref(ptr.type, true);
|
||||||
if (LLVMIsNull(value.value)) {
|
if (LLVMIsNull(value.value)) {
|
||||||
LLVMTypeRef src_t = llvm_addr_type(p->module, ptr);
|
LLVMTypeRef src_t = llvm_addr_type(p->module, ptr);
|
||||||
if (is_type_proc(a)) {
|
if (is_type_proc(a)) {
|
||||||
|
|||||||
Reference in New Issue
Block a user