| ... | @@ -17744,7 +17744,7 @@ static IrInstruction *ir_analyze_instruction_elem_ptr(IrAnalyze *ira, IrInstruct | ... | @@ -17744,7 +17744,7 @@ static IrInstruction *ir_analyze_instruction_elem_ptr(IrAnalyze *ira, IrInstruct |
| 17744 | zig_panic("TODO elem ptr on a slice has a null pointer"); | 17744 | zig_panic("TODO elem ptr on a slice has a null pointer"); |
| 17745 | } | 17745 | } |
| 17746 | return result; | 17746 | return result; |
| 17747 | } else if (array_type->id == ZigTypeIdArray) { | 17747 | } else if (array_type->id == ZigTypeIdArray || array_type->id == ZigTypeIdVector) { |
| 17748 | IrInstruction *result; | 17748 | IrInstruction *result; |
| 17749 | if (orig_array_ptr_val->data.x_ptr.mut == ConstPtrMutInfer) { | 17749 | if (orig_array_ptr_val->data.x_ptr.mut == ConstPtrMutInfer) { |
| 17750 | result = ir_build_elem_ptr(&ira->new_irb, elem_ptr_instruction->base.scope, | 17750 | result = ir_build_elem_ptr(&ira->new_irb, elem_ptr_instruction->base.scope, |