| ... | @@ -25494,9 +25494,7 @@ static Error ir_make_type_info_value(IrAnalyze *ira, IrInst* source_instr, ZigTy | ... | @@ -25494,9 +25494,7 @@ static Error ir_make_type_info_value(IrAnalyze *ira, IrInst* source_instr, ZigTy |
| 25494 | error_val->special = ConstValSpecialStatic; | 25494 | error_val->special = ConstValSpecialStatic; |
| 25495 | error_val->type = type_info_error_type; | 25495 | error_val->type = type_info_error_type; |
| 25496 | | 25496 | |
| 25497 | ZigValue **inner_fields = alloc_const_vals_ptrs(ira->codegen, 2); | 25497 | ZigValue **inner_fields = alloc_const_vals_ptrs(ira->codegen, 1); |
| 25498 | inner_fields[1]->special = ConstValSpecialStatic; | | |
| 25499 | inner_fields[1]->type = ira->codegen->builtin_types.entry_num_lit_int; | | |
| 25500 | | 25498 | |
| 25501 | ZigValue *name = nullptr; | 25499 | ZigValue *name = nullptr; |
| 25502 | if (error->cached_error_name_val != nullptr) | 25500 | if (error->cached_error_name_val != nullptr) |
| ... | @@ -25504,7 +25502,6 @@ static Error ir_make_type_info_value(IrAnalyze *ira, IrInst* source_instr, ZigTy | ... | @@ -25504,7 +25502,6 @@ static Error ir_make_type_info_value(IrAnalyze *ira, IrInst* source_instr, ZigTy |
| 25504 | if (name == nullptr) | 25502 | if (name == nullptr) |
| 25505 | name = create_const_str_lit(ira->codegen, &error->name)->data.x_ptr.data.ref.pointee; | 25503 | name = create_const_str_lit(ira->codegen, &error->name)->data.x_ptr.data.ref.pointee; |
| 25506 | init_const_slice(ira->codegen, inner_fields[0], name, 0, buf_len(&error->name), true); | 25504 | init_const_slice(ira->codegen, inner_fields[0], name, 0, buf_len(&error->name), true); |
| 25507 | bigint_init_unsigned(&inner_fields[1]->data.x_bigint, error->value); | | |
| 25508 | | 25505 | |
| 25509 | error_val->data.x_struct.fields = inner_fields; | 25506 | error_val->data.x_struct.fields = inner_fields; |
| 25510 | error_val->parent.id = ConstParentIdArray; | 25507 | error_val->parent.id = ConstParentIdArray; |