| ... | ... | @@ -4464,7 +4464,9 @@ fn airMemset(func: *CodeGen, inst: Air.Inst.Index, safety: bool) InnerError!void |
| 4464 | 4464 | .One => @as(WValue, .{ .imm32 = @intCast(u32, ptr_ty.childType().arrayLen()) }), |
| 4465 | 4465 | .C, .Many => unreachable, |
| 4466 | 4466 | }; |
| 4467 | | try func.memset(ptr, len, value); |
| 4467 | |
| 4468 | const dst_ptr = try func.sliceOrArrayPtr(ptr, ptr_ty); |
| 4469 | try func.memset(dst_ptr, len, value); |
| 4468 | 4470 | |
| 4469 | 4471 | func.finishAir(inst, .none, &.{ bin_op.lhs, bin_op.rhs }); |
| 4470 | 4472 | } |