| ... | @@ -2689,7 +2689,7 @@ pub const DeclGen = struct { | ... | @@ -2689,7 +2689,7 @@ pub const DeclGen = struct { |
| 2689 | llvm_aligned_field_ty, | 2689 | llvm_aligned_field_ty, |
| 2690 | dg.context.intType(8).arrayType(padding_len), | 2690 | dg.context.intType(8).arrayType(padding_len), |
| 2691 | }; | 2691 | }; |
| 2692 | break :t dg.context.structType(&fields, fields.len, .True); | 2692 | break :t dg.context.structType(&fields, fields.len, .False); |
| 2693 | }; | 2693 | }; |
| 2694 | | 2694 | |
| 2695 | if (layout.tag_size == 0) { | 2695 | if (layout.tag_size == 0) { |
| ... | @@ -3002,7 +3002,7 @@ pub const DeclGen = struct { | ... | @@ -3002,7 +3002,7 @@ pub const DeclGen = struct { |
| 3002 | return dg.context.constStruct( | 3002 | return dg.context.constStruct( |
| 3003 | llvm_elems.ptr, | 3003 | llvm_elems.ptr, |
| 3004 | @intCast(c_uint, llvm_elems.len), | 3004 | @intCast(c_uint, llvm_elems.len), |
| 3005 | .True, | 3005 | .False, |
| 3006 | ); | 3006 | ); |
| 3007 | } else { | 3007 | } else { |
| 3008 | const llvm_elem_ty = try dg.lowerType(elem_ty); | 3008 | const llvm_elem_ty = try dg.lowerType(elem_ty); |
| ... | @@ -3039,7 +3039,7 @@ pub const DeclGen = struct { | ... | @@ -3039,7 +3039,7 @@ pub const DeclGen = struct { |
| 3039 | return dg.context.constStruct( | 3039 | return dg.context.constStruct( |
| 3040 | llvm_elems.ptr, | 3040 | llvm_elems.ptr, |
| 3041 | @intCast(c_uint, llvm_elems.len), | 3041 | @intCast(c_uint, llvm_elems.len), |
| 3042 | .True, | 3042 | .False, |
| 3043 | ); | 3043 | ); |
| 3044 | } else { | 3044 | } else { |
| 3045 | const llvm_elem_ty = try dg.lowerType(elem_ty); | 3045 | const llvm_elem_ty = try dg.lowerType(elem_ty); |
| ... | @@ -3056,7 +3056,7 @@ pub const DeclGen = struct { | ... | @@ -3056,7 +3056,7 @@ pub const DeclGen = struct { |
| 3056 | const llvm_elems: [1]*const llvm.Value = .{sentinel}; | 3056 | const llvm_elems: [1]*const llvm.Value = .{sentinel}; |
| 3057 | const need_unnamed = dg.isUnnamedType(elem_ty, llvm_elems[0]); | 3057 | const need_unnamed = dg.isUnnamedType(elem_ty, llvm_elems[0]); |
| 3058 | if (need_unnamed) { | 3058 | if (need_unnamed) { |
| 3059 | return dg.context.constStruct(&llvm_elems, llvm_elems.len, .True); | 3059 | return dg.context.constStruct(&llvm_elems, llvm_elems.len, .False); |
| 3060 | } else { | 3060 | } else { |
| 3061 | const llvm_elem_ty = try dg.lowerType(elem_ty); | 3061 | const llvm_elem_ty = try dg.lowerType(elem_ty); |
| 3062 | return llvm_elem_ty.constArray(&llvm_elems, llvm_elems.len); | 3062 | return llvm_elem_ty.constArray(&llvm_elems, llvm_elems.len); |
| ... | @@ -3343,7 +3343,7 @@ pub const DeclGen = struct { | ... | @@ -3343,7 +3343,7 @@ pub const DeclGen = struct { |
| 3343 | const fields: [2]*const llvm.Value = .{ | 3343 | const fields: [2]*const llvm.Value = .{ |
| 3344 | field, dg.context.intType(8).arrayType(padding_len).getUndef(), | 3344 | field, dg.context.intType(8).arrayType(padding_len).getUndef(), |
| 3345 | }; | 3345 | }; |
| 3346 | break :p dg.context.constStruct(&fields, fields.len, .True); | 3346 | break :p dg.context.constStruct(&fields, fields.len, .False); |
| 3347 | }; | 3347 | }; |
| 3348 | | 3348 | |
| 3349 | if (layout.tag_size == 0) { | 3349 | if (layout.tag_size == 0) { |