aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorLuuk de Gram <luuk@degram.dev>2023-05-21 15:16:48 +0200
committerLuuk de Gram <luuk@degram.dev>2023-05-31 18:04:31 +0200
commit00dedabc41322bc2b4978ddc39ee17b72193f194 (patch)
tree7efb90f93aca22dd4b1a7dbdd1f0c1e3e0b6c85c /lib
parentcd1417dbdf098634641e87dba4c3be2806d76250 (diff)
downloadzig-00dedabc41322bc2b4978ddc39ee17b72193f194.tar.gz
zig-00dedabc41322bc2b4978ddc39ee17b72193f194.zip
wasm: `memcpy` support elem abi-size > 1
Previously it was incorrectly assumed that all memcopy's generated by the `memcpy` AIR instruction had an element size of 1 byte. However, this would result in miscompilations for pointer's to arrays where the element size of the array was larger than 1 byte. We now corectly calculate this size.
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions