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

@@ -2385,7 +2385,7 @@ gb_internal void lb_build_static_variables(lbProcedure *p, AstValueDecl *vd) {
if (e->Variable.is_rodata) {
cc.is_rodata = true;
}
value = lb_const_value(p->module, ast_value->tav.type, ast_value->tav.value, cc);
value = lb_const_value(p->module, ast_value->tav.type, ast_value->tav.value, nullptr, cc);
}
String mangled_name = {};