| ... | @@ -1766,8 +1766,8 @@ fn airStructFieldVal(self: *Self, inst: Air.Inst.Index) !void { | ... | @@ -1766,8 +1766,8 @@ fn airStructFieldVal(self: *Self, inst: Air.Inst.Index) !void { |
| 1766 | if (!field_ty.hasRuntimeBitsIgnoreComptime(mod)) break :result .none; | 1766 | if (!field_ty.hasRuntimeBitsIgnoreComptime(mod)) break :result .none; |
| 1767 | | 1767 | |
| 1768 | const field_off: u32 = switch (struct_ty.containerLayout(mod)) { | 1768 | const field_off: u32 = switch (struct_ty.containerLayout(mod)) { |
| 1769 | .Auto, .Extern => @intCast(struct_ty.structFieldOffset(index, mod) * 8), | 1769 | .auto, .@"extern" => @intCast(struct_ty.structFieldOffset(index, mod) * 8), |
| 1770 | .Packed => if (mod.typeToStruct(struct_ty)) |struct_type| | 1770 | .@"packed" => if (mod.typeToStruct(struct_ty)) |struct_type| |
| 1771 | mod.structPackedFieldBitOffset(struct_type, index) | 1771 | mod.structPackedFieldBitOffset(struct_type, index) |
| 1772 | else | 1772 | else |
| 1773 | 0, | 1773 | 0, |