mirror of
https://github.com/Ed94/Odin.git
synced 2026-06-25 07:04:58 -07:00
Compiler Internal Changes: TypeRecord_Union -> Type_Union
This commit is contained in:
+4
-3
@@ -648,10 +648,11 @@ bool can_ssa_type(Type *t) {
|
||||
}
|
||||
}
|
||||
return true;
|
||||
case Type_Union:
|
||||
return false;
|
||||
|
||||
case Type_Record:
|
||||
if (t->Record.kind == TypeRecord_Union) {
|
||||
return false;
|
||||
} else if (t->Record.kind == TypeRecord_Struct) {
|
||||
if (t->Record.kind == TypeRecord_Struct) {
|
||||
if (t->Record.field_count > SSA_MAX_STRUCT_FIELD_COUNT) {
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user