| ... | @@ -10729,6 +10729,7 @@ fn zirShl( | ... | @@ -10729,6 +10729,7 @@ fn zirShl( |
| 10729 | | 10729 | |
| 10730 | const inst_data = sema.code.instructions.items(.data)[inst].pl_node; | 10730 | const inst_data = sema.code.instructions.items(.data)[inst].pl_node; |
| 10731 | const src = inst_data.src(); | 10731 | const src = inst_data.src(); |
| | 10732 | sema.src = src; |
| 10732 | const lhs_src: LazySrcLoc = .{ .node_offset_bin_lhs = inst_data.src_node }; | 10733 | const lhs_src: LazySrcLoc = .{ .node_offset_bin_lhs = inst_data.src_node }; |
| 10733 | const rhs_src: LazySrcLoc = .{ .node_offset_bin_rhs = inst_data.src_node }; | 10734 | const rhs_src: LazySrcLoc = .{ .node_offset_bin_rhs = inst_data.src_node }; |
| 10734 | const extra = sema.code.extraData(Zir.Inst.Bin, inst_data.payload_index).data; | 10735 | const extra = sema.code.extraData(Zir.Inst.Bin, inst_data.payload_index).data; |
| ... | @@ -10902,6 +10903,7 @@ fn zirShr( | ... | @@ -10902,6 +10903,7 @@ fn zirShr( |
| 10902 | | 10903 | |
| 10903 | const inst_data = sema.code.instructions.items(.data)[inst].pl_node; | 10904 | const inst_data = sema.code.instructions.items(.data)[inst].pl_node; |
| 10904 | const src = inst_data.src(); | 10905 | const src = inst_data.src(); |
| | 10906 | sema.src = src; |
| 10905 | const lhs_src: LazySrcLoc = .{ .node_offset_bin_lhs = inst_data.src_node }; | 10907 | const lhs_src: LazySrcLoc = .{ .node_offset_bin_lhs = inst_data.src_node }; |
| 10906 | const rhs_src: LazySrcLoc = .{ .node_offset_bin_rhs = inst_data.src_node }; | 10908 | const rhs_src: LazySrcLoc = .{ .node_offset_bin_rhs = inst_data.src_node }; |
| 10907 | const extra = sema.code.extraData(Zir.Inst.Bin, inst_data.payload_index).data; | 10909 | const extra = sema.code.extraData(Zir.Inst.Bin, inst_data.payload_index).data; |
| ... | @@ -11024,6 +11026,7 @@ fn zirBitwise( | ... | @@ -11024,6 +11026,7 @@ fn zirBitwise( |
| 11024 | | 11026 | |
| 11025 | const inst_data = sema.code.instructions.items(.data)[inst].pl_node; | 11027 | const inst_data = sema.code.instructions.items(.data)[inst].pl_node; |
| 11026 | const src: LazySrcLoc = .{ .node_offset_bin_op = inst_data.src_node }; | 11028 | const src: LazySrcLoc = .{ .node_offset_bin_op = inst_data.src_node }; |
| | 11029 | sema.src = src; |
| 11027 | const lhs_src: LazySrcLoc = .{ .node_offset_bin_lhs = inst_data.src_node }; | 11030 | const lhs_src: LazySrcLoc = .{ .node_offset_bin_lhs = inst_data.src_node }; |
| 11028 | const rhs_src: LazySrcLoc = .{ .node_offset_bin_rhs = inst_data.src_node }; | 11031 | const rhs_src: LazySrcLoc = .{ .node_offset_bin_rhs = inst_data.src_node }; |
| 11029 | const extra = sema.code.extraData(Zir.Inst.Bin, inst_data.payload_index).data; | 11032 | const extra = sema.code.extraData(Zir.Inst.Bin, inst_data.payload_index).data; |
| ... | @@ -11657,6 +11660,7 @@ fn zirArithmetic( | ... | @@ -11657,6 +11660,7 @@ fn zirArithmetic( |
| 11657 | fn zirDiv(sema: *Sema, block: *Block, inst: Zir.Inst.Index) CompileError!Air.Inst.Ref { | 11660 | fn zirDiv(sema: *Sema, block: *Block, inst: Zir.Inst.Index) CompileError!Air.Inst.Ref { |
| 11658 | const inst_data = sema.code.instructions.items(.data)[inst].pl_node; | 11661 | const inst_data = sema.code.instructions.items(.data)[inst].pl_node; |
| 11659 | const src: LazySrcLoc = .{ .node_offset_bin_op = inst_data.src_node }; | 11662 | const src: LazySrcLoc = .{ .node_offset_bin_op = inst_data.src_node }; |
| | 11663 | sema.src = src; |
| 11660 | const lhs_src: LazySrcLoc = .{ .node_offset_bin_lhs = inst_data.src_node }; | 11664 | const lhs_src: LazySrcLoc = .{ .node_offset_bin_lhs = inst_data.src_node }; |
| 11661 | const rhs_src: LazySrcLoc = .{ .node_offset_bin_rhs = inst_data.src_node }; | 11665 | const rhs_src: LazySrcLoc = .{ .node_offset_bin_rhs = inst_data.src_node }; |
| 11662 | const extra = sema.code.extraData(Zir.Inst.Bin, inst_data.payload_index).data; | 11666 | const extra = sema.code.extraData(Zir.Inst.Bin, inst_data.payload_index).data; |
| ... | @@ -11810,6 +11814,7 @@ fn zirDiv(sema: *Sema, block: *Block, inst: Zir.Inst.Index) CompileError!Air.Ins | ... | @@ -11810,6 +11814,7 @@ fn zirDiv(sema: *Sema, block: *Block, inst: Zir.Inst.Index) CompileError!Air.Ins |
| 11810 | fn zirDivExact(sema: *Sema, block: *Block, inst: Zir.Inst.Index) CompileError!Air.Inst.Ref { | 11814 | fn zirDivExact(sema: *Sema, block: *Block, inst: Zir.Inst.Index) CompileError!Air.Inst.Ref { |
| 11811 | const inst_data = sema.code.instructions.items(.data)[inst].pl_node; | 11815 | const inst_data = sema.code.instructions.items(.data)[inst].pl_node; |
| 11812 | const src: LazySrcLoc = .{ .node_offset_bin_op = inst_data.src_node }; | 11816 | const src: LazySrcLoc = .{ .node_offset_bin_op = inst_data.src_node }; |
| | 11817 | sema.src = src; |
| 11813 | const lhs_src: LazySrcLoc = .{ .node_offset_bin_lhs = inst_data.src_node }; | 11818 | const lhs_src: LazySrcLoc = .{ .node_offset_bin_lhs = inst_data.src_node }; |
| 11814 | const rhs_src: LazySrcLoc = .{ .node_offset_bin_rhs = inst_data.src_node }; | 11819 | const rhs_src: LazySrcLoc = .{ .node_offset_bin_rhs = inst_data.src_node }; |
| 11815 | const extra = sema.code.extraData(Zir.Inst.Bin, inst_data.payload_index).data; | 11820 | const extra = sema.code.extraData(Zir.Inst.Bin, inst_data.payload_index).data; |
| ... | @@ -11966,6 +11971,7 @@ fn zirDivExact(sema: *Sema, block: *Block, inst: Zir.Inst.Index) CompileError!Ai | ... | @@ -11966,6 +11971,7 @@ fn zirDivExact(sema: *Sema, block: *Block, inst: Zir.Inst.Index) CompileError!Ai |
| 11966 | fn zirDivFloor(sema: *Sema, block: *Block, inst: Zir.Inst.Index) CompileError!Air.Inst.Ref { | 11971 | fn zirDivFloor(sema: *Sema, block: *Block, inst: Zir.Inst.Index) CompileError!Air.Inst.Ref { |
| 11967 | const inst_data = sema.code.instructions.items(.data)[inst].pl_node; | 11972 | const inst_data = sema.code.instructions.items(.data)[inst].pl_node; |
| 11968 | const src: LazySrcLoc = .{ .node_offset_bin_op = inst_data.src_node }; | 11973 | const src: LazySrcLoc = .{ .node_offset_bin_op = inst_data.src_node }; |
| | 11974 | sema.src = src; |
| 11969 | const lhs_src: LazySrcLoc = .{ .node_offset_bin_lhs = inst_data.src_node }; | 11975 | const lhs_src: LazySrcLoc = .{ .node_offset_bin_lhs = inst_data.src_node }; |
| 11970 | const rhs_src: LazySrcLoc = .{ .node_offset_bin_rhs = inst_data.src_node }; | 11976 | const rhs_src: LazySrcLoc = .{ .node_offset_bin_rhs = inst_data.src_node }; |
| 11971 | const extra = sema.code.extraData(Zir.Inst.Bin, inst_data.payload_index).data; | 11977 | const extra = sema.code.extraData(Zir.Inst.Bin, inst_data.payload_index).data; |
| ... | @@ -12077,6 +12083,7 @@ fn zirDivFloor(sema: *Sema, block: *Block, inst: Zir.Inst.Index) CompileError!Ai | ... | @@ -12077,6 +12083,7 @@ fn zirDivFloor(sema: *Sema, block: *Block, inst: Zir.Inst.Index) CompileError!Ai |
| 12077 | fn zirDivTrunc(sema: *Sema, block: *Block, inst: Zir.Inst.Index) CompileError!Air.Inst.Ref { | 12083 | fn zirDivTrunc(sema: *Sema, block: *Block, inst: Zir.Inst.Index) CompileError!Air.Inst.Ref { |
| 12078 | const inst_data = sema.code.instructions.items(.data)[inst].pl_node; | 12084 | const inst_data = sema.code.instructions.items(.data)[inst].pl_node; |
| 12079 | const src: LazySrcLoc = .{ .node_offset_bin_op = inst_data.src_node }; | 12085 | const src: LazySrcLoc = .{ .node_offset_bin_op = inst_data.src_node }; |
| | 12086 | sema.src = src; |
| 12080 | const lhs_src: LazySrcLoc = .{ .node_offset_bin_lhs = inst_data.src_node }; | 12087 | const lhs_src: LazySrcLoc = .{ .node_offset_bin_lhs = inst_data.src_node }; |
| 12081 | const rhs_src: LazySrcLoc = .{ .node_offset_bin_rhs = inst_data.src_node }; | 12088 | const rhs_src: LazySrcLoc = .{ .node_offset_bin_rhs = inst_data.src_node }; |
| 12082 | const extra = sema.code.extraData(Zir.Inst.Bin, inst_data.payload_index).data; | 12089 | const extra = sema.code.extraData(Zir.Inst.Bin, inst_data.payload_index).data; |
| ... | @@ -12313,6 +12320,7 @@ fn airTag(block: *Block, is_int: bool, normal: Air.Inst.Tag, optimized: Air.Inst | ... | @@ -12313,6 +12320,7 @@ fn airTag(block: *Block, is_int: bool, normal: Air.Inst.Tag, optimized: Air.Inst |
| 12313 | fn zirModRem(sema: *Sema, block: *Block, inst: Zir.Inst.Index) CompileError!Air.Inst.Ref { | 12320 | fn zirModRem(sema: *Sema, block: *Block, inst: Zir.Inst.Index) CompileError!Air.Inst.Ref { |
| 12314 | const inst_data = sema.code.instructions.items(.data)[inst].pl_node; | 12321 | const inst_data = sema.code.instructions.items(.data)[inst].pl_node; |
| 12315 | const src: LazySrcLoc = .{ .node_offset_bin_op = inst_data.src_node }; | 12322 | const src: LazySrcLoc = .{ .node_offset_bin_op = inst_data.src_node }; |
| | 12323 | sema.src = src; |
| 12316 | const lhs_src: LazySrcLoc = .{ .node_offset_bin_lhs = inst_data.src_node }; | 12324 | const lhs_src: LazySrcLoc = .{ .node_offset_bin_lhs = inst_data.src_node }; |
| 12317 | const rhs_src: LazySrcLoc = .{ .node_offset_bin_rhs = inst_data.src_node }; | 12325 | const rhs_src: LazySrcLoc = .{ .node_offset_bin_rhs = inst_data.src_node }; |
| 12318 | const extra = sema.code.extraData(Zir.Inst.Bin, inst_data.payload_index).data; | 12326 | const extra = sema.code.extraData(Zir.Inst.Bin, inst_data.payload_index).data; |
| ... | @@ -12498,6 +12506,7 @@ fn intRemScalar( | ... | @@ -12498,6 +12506,7 @@ fn intRemScalar( |
| 12498 | fn zirMod(sema: *Sema, block: *Block, inst: Zir.Inst.Index) CompileError!Air.Inst.Ref { | 12506 | fn zirMod(sema: *Sema, block: *Block, inst: Zir.Inst.Index) CompileError!Air.Inst.Ref { |
| 12499 | const inst_data = sema.code.instructions.items(.data)[inst].pl_node; | 12507 | const inst_data = sema.code.instructions.items(.data)[inst].pl_node; |
| 12500 | const src: LazySrcLoc = .{ .node_offset_bin_op = inst_data.src_node }; | 12508 | const src: LazySrcLoc = .{ .node_offset_bin_op = inst_data.src_node }; |
| | 12509 | sema.src = src; |
| 12501 | const lhs_src: LazySrcLoc = .{ .node_offset_bin_lhs = inst_data.src_node }; | 12510 | const lhs_src: LazySrcLoc = .{ .node_offset_bin_lhs = inst_data.src_node }; |
| 12502 | const rhs_src: LazySrcLoc = .{ .node_offset_bin_rhs = inst_data.src_node }; | 12511 | const rhs_src: LazySrcLoc = .{ .node_offset_bin_rhs = inst_data.src_node }; |
| 12503 | const extra = sema.code.extraData(Zir.Inst.Bin, inst_data.payload_index).data; | 12512 | const extra = sema.code.extraData(Zir.Inst.Bin, inst_data.payload_index).data; |
| ... | @@ -12600,6 +12609,7 @@ fn zirMod(sema: *Sema, block: *Block, inst: Zir.Inst.Index) CompileError!Air.Ins | ... | @@ -12600,6 +12609,7 @@ fn zirMod(sema: *Sema, block: *Block, inst: Zir.Inst.Index) CompileError!Air.Ins |
| 12600 | fn zirRem(sema: *Sema, block: *Block, inst: Zir.Inst.Index) CompileError!Air.Inst.Ref { | 12609 | fn zirRem(sema: *Sema, block: *Block, inst: Zir.Inst.Index) CompileError!Air.Inst.Ref { |
| 12601 | const inst_data = sema.code.instructions.items(.data)[inst].pl_node; | 12610 | const inst_data = sema.code.instructions.items(.data)[inst].pl_node; |
| 12602 | const src: LazySrcLoc = .{ .node_offset_bin_op = inst_data.src_node }; | 12611 | const src: LazySrcLoc = .{ .node_offset_bin_op = inst_data.src_node }; |
| | 12612 | sema.src = src; |
| 12603 | const lhs_src: LazySrcLoc = .{ .node_offset_bin_lhs = inst_data.src_node }; | 12613 | const lhs_src: LazySrcLoc = .{ .node_offset_bin_lhs = inst_data.src_node }; |
| 12604 | const rhs_src: LazySrcLoc = .{ .node_offset_bin_rhs = inst_data.src_node }; | 12614 | const rhs_src: LazySrcLoc = .{ .node_offset_bin_rhs = inst_data.src_node }; |
| 12605 | const extra = sema.code.extraData(Zir.Inst.Bin, inst_data.payload_index).data; | 12615 | const extra = sema.code.extraData(Zir.Inst.Bin, inst_data.payload_index).data; |