| ... | ... | @@ -11210,6 +11210,9 @@ static IrInstruction *ir_get_ref(IrAnalyze *ira, IrInstruction *source_instructi |
| 11210 | 11210 | ZigType *ptr_type = get_pointer_to_type_extra(ira->codegen, value->value.type, |
| 11211 | 11211 | is_const, is_volatile, PtrLenSingle, 0, 0, 0, false); |
| 11212 | 11212 | |
| 11213 | if ((err = type_resolve(ira->codegen, ptr_type, ResolveStatusZeroBitsKnown))) |
| 11214 | return ira->codegen->invalid_instruction; |
| 11215 | |
| 11213 | 11216 | IrInstruction *result_loc; |
| 11214 | 11217 | if (type_has_bits(ptr_type) && !handle_is_ptr(value->value.type)) { |
| 11215 | 11218 | result_loc = ir_resolve_result(ira, source_instruction, no_result_loc(), value->value.type, nullptr, true, |