0
Fork 0
mirror of https://codeberg.org/ziglang/zig synced 2026-11-18 07:05:05 +00:00

Sema: fix memcpy alias safety incorrect math

Previously it was not multiplying by the element ABI size. Now, it uses
ptr_add instructions which do math based on the element type.
This commit is contained in:
Andrew Kelley 2023-04-24 21:39:03 -07:00
commit 792bbfa301
4 changed files with 58 additions and 27 deletions