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
320c4d68f5Luuk de Gram committed on 2/11/2024, 4:09:18 PMparente56fe06
1 file changedLine totals unavailable