Rearrange context and value_type values of lb_const_value

This commit is contained in:
gingerBill
2026-06-05 10:19:55 +01:00
parent 808d19123b
commit 8d1d126e16
5 changed files with 41 additions and 41 deletions

View File

@@ -3421,7 +3421,7 @@ gb_internal bool lb_generate_code(lbGenerator *gen) {
cc.link_section = e->Variable.link_section;
ExactValue v = tav.value;
lbValue init = lb_const_value(m, e->type, v, cc, tav.type);
lbValue init = lb_const_value(m, e->type, v, tav.type, cc);
LLVMDeleteGlobal(g.value);