authorgravatar for alex_naskos@hotmail.comAlexandros Naskos <alex_naskos@hotmail.com> 2018-04-24 17:01:20+03:00
committergravatar for alex_naskos@hotmail.comAlexandros Naskos <alex_naskos@hotmail.com> 2018-04-24 17:01:20+03:00
log2d8553c85333734a1690dfae30d881103dde0727
treeebecd6edd1de56dfe85564bbfd2b5b2c62c5dc2d
parent189e8e97bdd8dea8efa9ea30401b164ea619f2e4

Fixed PointerInfo generation


1 files changed, 1 insertions(+), 1 deletions(-)

src/ir.cpp+1-1
...@@ -15859,7 +15859,7 @@ static ConstExprValue *ir_make_type_info_value(IrAnalyze *ira, ConstExprValue *p...@@ -15859,7 +15859,7 @@ static ConstExprValue *ir_make_type_info_value(IrAnalyze *ira, ConstExprValue *p
15859 // alignment: u3215859 // alignment: u32
15860 fields[2].special = ConstValSpecialStatic;15860 fields[2].special = ConstValSpecialStatic;
15861 fields[2].type = ira->codegen->builtin_types.entry_u32;15861 fields[2].type = ira->codegen->builtin_types.entry_u32;
15862 bigint_init_unsigned(&fields->data.x_bigint, type_entry->data.pointer.alignment);15862 bigint_init_unsigned(&fields[2].data.x_bigint, type_entry->data.pointer.alignment);
15863 // child: &TypeInfo15863 // child: &TypeInfo
15864 ConstExprValue *type_info_type = get_builtin_value(ira->codegen, "TypeInfo");15864 ConstExprValue *type_info_type = get_builtin_value(ira->codegen, "TypeInfo");
15865 assert(type_info_type->type->id == TypeTableEntryIdMetaType);15865 assert(type_info_type->type->id == TypeTableEntryIdMetaType);