aboutsummaryrefslogtreecommitdiff
path: root/src/codegen
diff options
context:
space:
mode:
authorLuuk de Gram <luuk@degram.dev>2024-02-11 12:16:18 +0100
committerLuuk de Gram <luuk@degram.dev>2024-02-11 17:09:18 +0100
commit320c4d68f5f40794ae31d5535de9c3a8ff5cb471 (patch)
treec658f57f89942bc57b0f7e725487933dcfe27a38 /src/codegen
parente56fe06d3083d29b253ee8f4586971ec362a1e95 (diff)
downloadzig-320c4d68f5f40794ae31d5535de9c3a8ff5cb471.tar.gz
zig-320c4d68f5f40794ae31d5535de9c3a8ff5cb471.zip
wasm: correctly lower packed structs in arguments
When an argument is a 'local', which is the case when it's a parameter, we should not attempt to load it from memory. Instead, we directly emit it to the stack. Only when the `WValue` is ensure to live in the linear data section do we load it from memory onto the stack. closes #18894
Diffstat (limited to 'src/codegen')
0 files changed, 0 insertions, 0 deletions