| author | |
| committer | |
| log | 0a918aaa14edea5edb456e2171d932f999fc1af5 |
| tree | cd54d901efa9a8e0fc200ff99f5b4ae89d031d4a |
| parent | 3a02ba9b82faf2521af22857554690fbacc7fa8e |
| parent | 05f9b14fc2d9950a1dd9a83d607ca2061711498b |
| signature | Signed by PGP key 4AEE18F83AFDEB23 |
Fix builtin alignment type2 files changed, 2 insertions(+), 2 deletions(-)
doc/langref.html.in+1-1| ... | ... | @@ -6166,7 +6166,7 @@ pub const TypeInfo = union(TypeId) { |
| 6166 | 6166 | size: Size, |
| 6167 | 6167 | is_const: bool, |
| 6168 | 6168 | is_volatile: bool, |
| 6169 | alignment: u32, | |
| 6169 | alignment: u29, | |
| 6170 | 6170 | child: type, |
| 6171 | 6171 | |
| 6172 | 6172 | pub const Size = enum { |
src/ir.cpp+1-1| ... | ... | @@ -17125,7 +17125,7 @@ static ConstExprValue *ir_make_type_info_value(IrAnalyze *ira, TypeTableEntry *t |
| 17125 | 17125 | // alignment: u32 |
| 17126 | 17126 | ensure_field_index(result->type, "alignment", 3); |
| 17127 | 17127 | fields[3].special = ConstValSpecialStatic; |
| 17128 | fields[3].type = ira->codegen->builtin_types.entry_u32; | |
| 17128 | fields[3].type = get_int_type(ira->codegen, false, 29); | |
| 17129 | 17129 | bigint_init_unsigned(&fields[3].data.x_bigint, attrs_type->data.pointer.alignment); |
| 17130 | 17130 | // child: type |
| 17131 | 17131 | ensure_field_index(result->type, "child", 4); |