commit 652b005f9bf1836ac507d9ef58cf4b4319557ad8 (tree)
parent 5b82b40043e3a930e6693867c83de00ab3d20ef7
Author: Krzysztof Wolicki <der.teufel.mail@gmail.com>
Date: Thu, 30 Mar 2023 22:03:58 +0200
autodoc: fix Extended builtin functions names rendering
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/Autodoc.zig b/src/Autodoc.zig
@@ -2984,7 +2984,7 @@ fn walkInstruction(
const param_index = self.exprs.items.len;
try self.exprs.append(self.arena, param.expr);
- self.exprs.items[bin_index] = .{ .builtin = .{ .name = @tagName(tags[inst_index]), .param = param_index } };
+ self.exprs.items[bin_index] = .{ .builtin = .{ .name = @tagName(extended.opcode), .param = param_index } };
return DocData.WalkResult{
.typeRef = param.typeRef orelse .{ .type = @enumToInt(Ref.type_type) },