| ... | @@ -30093,9 +30093,9 @@ static IrInstGen *ir_align_cast(IrAnalyze *ira, IrInstGen *target, uint32_t alig | ... | @@ -30093,9 +30093,9 @@ static IrInstGen *ir_align_cast(IrAnalyze *ira, IrInstGen *target, uint32_t alig |
| 30093 | } | 30093 | } |
| 30094 | | 30094 | |
| 30095 | if (target_type->id == ZigTypeIdPointer) { | 30095 | if (target_type->id == ZigTypeIdPointer) { |
| 30096 | result_type = adjust_ptr_align(ira->codegen, target_type, align_bytes); | | |
| 30097 | if ((err = resolve_ptr_align(ira, target_type, &old_align_bytes))) | 30096 | if ((err = resolve_ptr_align(ira, target_type, &old_align_bytes))) |
| 30098 | return ira->codegen->invalid_inst_gen; | 30097 | return ira->codegen->invalid_inst_gen; |
| | 30098 | result_type = adjust_ptr_align(ira->codegen, target_type, align_bytes); |
| 30099 | } else if (target_type->id == ZigTypeIdFn) { | 30099 | } else if (target_type->id == ZigTypeIdFn) { |
| 30100 | FnTypeId fn_type_id = target_type->data.fn.fn_type_id; | 30100 | FnTypeId fn_type_id = target_type->data.fn.fn_type_id; |
| 30101 | old_align_bytes = fn_type_id.alignment; | 30101 | old_align_bytes = fn_type_id.alignment; |