authorgravatar for alex_naskos@hotmail.comAlexandros Naskos <alex_naskos@hotmail.com> 2018-04-24 15:17:34+03:00
committergravatar for alex_naskos@hotmail.comAlexandros Naskos <alex_naskos@hotmail.com> 2018-04-24 15:17:34+03:00
loge9309d3b1310863d9571486b071b7a34bea1fb60
tree5ecf22c7c1ce2a1d74696a4292ef3d3295d24521
parentec2a3ed500d4ba269c87b3ad0efe7bcc89eb2057

Fixed IntInfo generation.


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

src/ir.cpp+4-1
......@@ -15772,7 +15772,10 @@ static TypeTableEntry *ir_analyze_instruction_type_info(IrAnalyze *ira,
1577215772 out_val->data.x_union.payload = payload;
1577315773
1577415774 payload->special = ConstValSpecialStatic;
15775 payload->type = get_builtin_value(ira->codegen, "IntInfo")->type;
15775
15776 ConstExprValue *int_info_type = get_builtin_value(ira->codegen, "IntInfo");
15777 assert(int_info_type->type->id == TypeTableEntryIdMetaType);
15778 payload->type = int_info_type->data.x_type;
1577615779
1577715780 ConstExprValue *fields = create_const_vals(2);
1577815781 payload->data.x_struct.fields = fields;