mirror of
https://github.com/odin-lang/Odin.git
synced 2026-02-15 23:54:07 +00:00
Temp fix for lb_emit_store
This commit is contained in:
@@ -858,7 +858,7 @@ void lb_emit_store(lbProcedure *p, lbValue ptr, lbValue value) {
|
||||
if (lb_sizeof(src_t) <= lb_max_zero_init_size()) {
|
||||
LLVMBuildStore(p->builder, LLVMConstNull(src_t), ptr.value);
|
||||
} else {
|
||||
lb_mem_zero_ptr(p, ptr.value, a, LLVMGetAlignment(ptr.value));
|
||||
lb_mem_zero_ptr(p, ptr.value, a, 1);
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user