diff options
| author | Luuk de Gram <luuk@degram.dev> | 2022-01-01 16:23:21 +0100 |
|---|---|---|
| committer | Luuk de Gram <luuk@degram.dev> | 2022-01-01 16:23:21 +0100 |
| commit | 3de111d993712f01cf5dd3bf6e2704550c9745e4 (patch) | |
| tree | ae6acdc0884a653eff54e7e7081e144f4e71be0a /src/Compilation.zig | |
| parent | ad1b0409962c77ac414be31dc87b8d599be6d3aa (diff) | |
| download | zig-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/Compilation.zig')
0 files changed, 0 insertions, 0 deletions
