Merge raw_union into struct as a memory layout tag #raw_union

This commit is contained in:
Ginger Bill
2017-07-18 19:24:45 +01:00
parent 65f079ebc4
commit 59fb7b020a
11 changed files with 242 additions and 294 deletions
+1 -1
View File
@@ -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;
}