diff options
| author | Luuk de Gram <Luukdegram@users.noreply.github.com> | 2021-05-19 17:36:23 +0200 |
|---|---|---|
| committer | Luuk de Gram <Luukdegram@users.noreply.github.com> | 2021-05-20 09:25:02 +0200 |
| commit | 87a9c6946dd536de562bc86ac4819a33df3442df (patch) | |
| tree | 7a6cd4ba08b8246625f65e39675e9f7b1a2d2c1d /lib/std/hash_map.zig | |
| parent | 69626478626aee18953b2fbfa42d509c7dfff1e4 (diff) | |
| download | zig-87a9c6946dd536de562bc86ac4819a33df3442df.tar.gz zig-87a9c6946dd536de562bc86ac4819a33df3442df.zip | |
wasm backend: implement `multi_value` for `WValue`
This allows us to differentiate between regular locals and variables that create multiple locals
on the stack such as optionals and structs.
Now `struct_a = struct_b;` works and only updates a reference, rather than update all local's values.
Also created more test cases to test against this.
Diffstat (limited to 'lib/std/hash_map.zig')
0 files changed, 0 insertions, 0 deletions
