aboutsummaryrefslogtreecommitdiff
path: root/src/Module.zig
diff options
context:
space:
mode:
authorLuuk de Gram <luuk@degram.dev>2022-01-01 16:23:21 +0100
committerLuuk de Gram <luuk@degram.dev>2022-01-01 16:23:21 +0100
commit3de111d993712f01cf5dd3bf6e2704550c9745e4 (patch)
treeae6acdc0884a653eff54e7e7081e144f4e71be0a /src/Module.zig
parentad1b0409962c77ac414be31dc87b8d599be6d3aa (diff)
downloadzig-3de111d993712f01cf5dd3bf6e2704550c9745e4.tar.gz
zig-3de111d993712f01cf5dd3bf6e2704550c9745e4.zip
wasm: Fix loading from pointers to support defer
Previously, the `load` instruction would just pass the pointer to the next instruction for types that comply to `isByRef`. However, this meant that a defer would directly write to the reference, rather than a copy. After this commit, we always copy the value.
Diffstat (limited to 'src/Module.zig')
0 files changed, 0 insertions, 0 deletions