autodoc: @check array_cat and array_mul

This commit is contained in:
Vallahor 2022-06-03 01:10:58 -03:00 committed by Andrew Kelley
parent 5e52666c83
commit 4530b446b1

View File

@ -1196,7 +1196,25 @@ fn walkInstruction(
},
// @check array_cat and array_mul
.add, .addwrap, .add_sat, .sub, .subwrap, .sub_sat, .mul, .mulwrap, .mul_sat, .div, .shl, .shl_sat, .shr, .bit_or, .bit_and => {
.add,
.addwrap,
.add_sat,
.sub,
.subwrap,
.sub_sat,
.mul,
.mulwrap,
.mul_sat,
.div,
.shl,
.shl_sat,
.shr,
.bit_or,
.bit_and,
// @check still not working when applied in std
// .array_cat,
// .array_mul,
=> {
const pl_node = data[inst_index].pl_node;
const extra = file.zir.extraData(Zir.Inst.Bin, pl_node.payload_index);