authorgravatar for mlugg@mlugg.co.ukMatthew Lugg <mlugg@mlugg.co.uk> 2023-06-14 13:24:47+01:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2023-06-16 13:44:25-07:00
log2af5bd8aa8711b2a6e60f961290372134090f235
treea77492de657f8a76c15bdeb443916490db79e1cd
parent259315606827620daaabf82b479e59ee710097cd

Autodoc: fix crash when walking `@min`/`@max` with two operands

This was causing CI failures after the previous commit.

1 files changed, 2 insertions(+), 2 deletions(-)

src/Autodoc.zig+2-2
......@@ -1494,8 +1494,6 @@ fn walkInstruction(
14941494 .frame_type,
14951495 .frame_size,
14961496 .ptr_to_int,
1497 .min,
1498 .max,
14991497 .bit_not,
15001498 // @check
15011499 .clz,
......@@ -1546,6 +1544,8 @@ fn walkInstruction(
15461544 .offset_of,
15471545 .splat,
15481546 .reduce,
1547 .min,
1548 .max,
15491549 => {
15501550 const pl_node = data[inst_index].pl_node;
15511551 const extra = file.zir.extraData(Zir.Inst.Bin, pl_node.payload_index);