| ... | @@ -8229,8 +8229,8 @@ fn zirVectorElemType(sema: *Sema, block: *Block, inst: Zir.Inst.Index) CompileEr | ... | @@ -8229,8 +8229,8 @@ fn zirVectorElemType(sema: *Sema, block: *Block, inst: Zir.Inst.Index) CompileEr |
| 8229 | fn zirVectorType(sema: *Sema, block: *Block, inst: Zir.Inst.Index) CompileError!Air.Inst.Ref { | 8229 | fn zirVectorType(sema: *Sema, block: *Block, inst: Zir.Inst.Index) CompileError!Air.Inst.Ref { |
| 8230 | const mod = sema.mod; | 8230 | const mod = sema.mod; |
| 8231 | const inst_data = sema.code.instructions.items(.data)[inst].pl_node; | 8231 | const inst_data = sema.code.instructions.items(.data)[inst].pl_node; |
| 8232 | const elem_type_src: LazySrcLoc = .{ .node_offset_builtin_call_arg0 = inst_data.src_node }; | 8232 | const len_src: LazySrcLoc = .{ .node_offset_builtin_call_arg0 = inst_data.src_node }; |
| 8233 | const len_src: LazySrcLoc = .{ .node_offset_builtin_call_arg1 = inst_data.src_node }; | 8233 | const elem_type_src: LazySrcLoc = .{ .node_offset_builtin_call_arg1 = inst_data.src_node }; |
| 8234 | const extra = sema.code.extraData(Zir.Inst.Bin, inst_data.payload_index).data; | 8234 | const extra = sema.code.extraData(Zir.Inst.Bin, inst_data.payload_index).data; |
| 8235 | const len: u32 = @intCast(try sema.resolveInt(block, len_src, extra.lhs, Type.u32, .{ | 8235 | const len: u32 = @intCast(try sema.resolveInt(block, len_src, extra.lhs, Type.u32, .{ |
| 8236 | .needed_comptime_reason = "vector length must be comptime-known", | 8236 | .needed_comptime_reason = "vector length must be comptime-known", |