mirror of
https://github.com/ziglang/zig.git
synced 2026-02-17 23:10:09 +00:00
Fixed IntInfo generation.
This commit is contained in:
parent
ec2a3ed500
commit
e9309d3b13
@ -15772,7 +15772,10 @@ static TypeTableEntry *ir_analyze_instruction_type_info(IrAnalyze *ira,
|
||||
out_val->data.x_union.payload = payload;
|
||||
|
||||
payload->special = ConstValSpecialStatic;
|
||||
payload->type = get_builtin_value(ira->codegen, "IntInfo")->type;
|
||||
|
||||
ConstExprValue *int_info_type = get_builtin_value(ira->codegen, "IntInfo");
|
||||
assert(int_info_type->type->id == TypeTableEntryIdMetaType);
|
||||
payload->type = int_info_type->data.x_type;
|
||||
|
||||
ConstExprValue *fields = create_const_vals(2);
|
||||
payload->data.x_struct.fields = fields;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user