mirror of
https://github.com/Ed94/Odin.git
synced 2026-06-15 18:32:22 -07:00
Merge raw_union into struct as a memory layout tag #raw_union
This commit is contained in:
+1
-1
@@ -652,7 +652,7 @@ bool can_ssa_type(Type *t) {
|
||||
return false;
|
||||
|
||||
case Type_Record:
|
||||
if (t->Record.kind == TypeRecord_Struct) {
|
||||
if (!t->Record.is_raw_union) {
|
||||
if (t->Record.field_count > SSA_MAX_STRUCT_FIELD_COUNT) {
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user