mirror of
https://github.com/Ed94/Odin.git
synced 2026-06-18 11:52:22 -07:00
Fix range loop & vals debug info
This commit is contained in:
@@ -1299,6 +1299,7 @@ gb_internal lbAddr lb_store_range_stmt_val(lbProcedure *p, Ast *stmt_val, lbValu
|
||||
if (LLVMIsALoadInst(value.value)) {
|
||||
lbValue ptr = lb_address_from_load_or_generate_local(p, value);
|
||||
lb_add_entity(p->module, e, ptr);
|
||||
lb_add_debug_local_variable(p, ptr.value, e->type, e->token);
|
||||
return lb_addr(ptr);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user