fn addSaveErrRetIndex( gz: *GenZir, cond: union(enum)
gz: *GenZir
cond: union(enum) { always: void, if_of_error_type: Zir.Inst.Ref, }
12039 12040 12041 12042 12043 12044 12045 12046 12047 12048 12049 12050 12051 12052 12053 12054 12055
fn addSaveErrRetIndex( gz: *GenZir, cond: union(enum) { always: void, if_of_error_type: Zir.Inst.Ref, }, ) !Zir.Inst.Index { return gz.addAsIndex(.{ .tag = .save_err_ret_index, .data = .{ .save_err_ret_index = .{ .operand = switch (cond) { .if_of_error_type => |x| x, else => .none, }, } }, }); }