mirror of
https://github.com/ziglang/zig.git
synced 2026-02-19 07:48:31 +00:00
Autodoc: fix crash when walking @min/@max with two operands
This was causing CI failures after the previous commit.
This commit is contained in:
parent
2593156068
commit
2af5bd8aa8
@ -1494,8 +1494,6 @@ fn walkInstruction(
|
||||
.frame_type,
|
||||
.frame_size,
|
||||
.ptr_to_int,
|
||||
.min,
|
||||
.max,
|
||||
.bit_not,
|
||||
// @check
|
||||
.clz,
|
||||
@ -1546,6 +1544,8 @@ fn walkInstruction(
|
||||
.offset_of,
|
||||
.splat,
|
||||
.reduce,
|
||||
.min,
|
||||
.max,
|
||||
=> {
|
||||
const pl_node = data[inst_index].pl_node;
|
||||
const extra = file.zir.extraData(Zir.Inst.Bin, pl_node.payload_index);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user