| ... | @@ -14802,6 +14802,9 @@ static IrInstruction *ir_resolve_result_raw(IrAnalyze *ira, IrInstruction *suspe | ... | @@ -14802,6 +14802,9 @@ static IrInstruction *ir_resolve_result_raw(IrAnalyze *ira, IrInstruction *suspe |
| 14802 | return ira->codegen->invalid_instruction; | 14802 | return ira->codegen->invalid_instruction; |
| 14803 | } | 14803 | } |
| 14804 | uint64_t parent_ptr_align = get_ptr_align(ira->codegen, parent_ptr_type); | 14804 | uint64_t parent_ptr_align = get_ptr_align(ira->codegen, parent_ptr_type); |
| | 14805 | if ((err = type_resolve(ira->codegen, value_type, ResolveStatusAlignmentKnown))) { |
| | 14806 | return ira->codegen->invalid_instruction; |
| | 14807 | } |
| 14805 | ZigType *ptr_type = get_pointer_to_type_extra(ira->codegen, value_type, | 14808 | ZigType *ptr_type = get_pointer_to_type_extra(ira->codegen, value_type, |
| 14806 | parent_ptr_type->data.pointer.is_const, parent_ptr_type->data.pointer.is_volatile, PtrLenSingle, | 14809 | parent_ptr_type->data.pointer.is_const, parent_ptr_type->data.pointer.is_volatile, PtrLenSingle, |
| 14807 | parent_ptr_align, 0, 0, parent_ptr_type->data.pointer.allow_zero); | 14810 | parent_ptr_align, 0, 0, parent_ptr_type->data.pointer.allow_zero); |