| ... | ... | @@ -3241,7 +3241,7 @@ fn updateComptimeNavInner(dwarf: *Dwarf, pt: Zcu.PerThread, nav_index: InternPoo |
| 3241 | 3241 | const field_type: Type = .fromInterned(loaded_union.field_types.get(ip)[field_index]); |
| 3242 | 3242 | try wip_nav.refType(field_type); |
| 3243 | 3243 | try diw.writeUleb128(loaded_union.fieldAlign(ip, field_index).toByteUnits() orelse |
| 3244 | | field_type.abiAlignment(zcu).toByteUnits().?); |
| 3244 | if (field_type.isNoReturn(zcu)) 1 else field_type.abiAlignment(zcu).toByteUnits().?); |
| 3245 | 3245 | } |
| 3246 | 3246 | try diw.writeUleb128(@intFromEnum(AbbrevCode.null)); |
| 3247 | 3247 | break :tag .done; |
| ... | ... | @@ -4599,7 +4599,7 @@ fn updateContainerTypeWriterError( |
| 4599 | 4599 | const field_type: Type = .fromInterned(loaded_union.field_types.get(ip)[field_index]); |
| 4600 | 4600 | try wip_nav.refType(field_type); |
| 4601 | 4601 | try diw.writeUleb128(loaded_union.fieldAlign(ip, field_index).toByteUnits() orelse |
| 4602 | | field_type.abiAlignment(zcu).toByteUnits().?); |
| 4602 | if (field_type.isNoReturn(zcu)) 1 else field_type.abiAlignment(zcu).toByteUnits().?); |
| 4603 | 4603 | } |
| 4604 | 4604 | if (loaded_union.field_types.len > 0) try diw.writeUleb128(@intFromEnum(AbbrevCode.null)); |
| 4605 | 4605 | }, |