aboutsummaryrefslogtreecommitdiff
path: root/src/codegen
diff options
context:
space:
mode:
authorLuuk de Gram <luuk@degram.dev>2023-05-08 20:22:55 +0200
committerLuuk de Gram <luuk@degram.dev>2023-05-19 20:19:00 +0200
commit99422cb5284f3e15c1b5a8598a6b1622c0e7b6ca (patch)
treecf712b929c5f3fd1128cd83a97863203c762d8f4 /src/codegen
parentf2860bb4f40565e43f51757e6cb604bb2df16ae0 (diff)
downloadzig-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