Add intrinsics.type_struct_has_implicit_padding #3844

This commit is contained in:
gingerBill
2024-07-01 12:13:35 +01:00
parent 942f3f5220
commit 544959326b
4 changed files with 31 additions and 2 deletions

View File

@@ -2366,6 +2366,7 @@ gb_internal bool type_has_nil(Type *t) {
return false;
}
gb_internal bool elem_type_can_be_constant(Type *t) {
t = base_type(t);
if (t == t_invalid) {