diff options
| author | Luuk de Gram <luuk@degram.dev> | 2023-05-08 20:22:55 +0200 |
|---|---|---|
| committer | Luuk de Gram <luuk@degram.dev> | 2023-05-19 20:19:00 +0200 |
| commit | 99422cb5284f3e15c1b5a8598a6b1622c0e7b6ca (patch) | |
| tree | cf712b929c5f3fd1128cd83a97863203c762d8f4 /src/codegen | |
| parent | f2860bb4f40565e43f51757e6cb604bb2df16ae0 (diff) | |
| download | zig-99422cb5284f3e15c1b5a8598a6b1622c0e7b6ca.tar.gz zig-99422cb5284f3e15c1b5a8598a6b1622c0e7b6ca.zip | |
wasm: add `dead` tag to `WValue`
This new tag is used for freed locals that are not allowed to have any
remaining references pointing to it. This new tag allows us to easily
identify liveness bugs. Previously we would set the entire region to
`undefined` which would incorrectly set the tag to `function_index`,
making codegen think it was a valid `WValue` while it wasn't.
Diffstat (limited to 'src/codegen')
0 files changed, 0 insertions, 0 deletions
