aboutsummaryrefslogtreecommitdiff
path: root/src/codegen
diff options
context:
space:
mode:
authorLuuk de Gram <luuk@degram.dev>2022-11-23 19:36:23 +0100
committerLuuk de Gram <luuk@degram.dev>2022-11-30 17:56:01 +0100
commiteb2caf939023bba16e473661d4f3cd1c19616e53 (patch)
treec7c5fc7da6b90d3baf394ef8022a180369f60597 /src/codegen
parent7cf442cabcb08b84b21ebc3850f52ac796093ecb (diff)
downloadzig-eb2caf939023bba16e473661d4f3cd1c19616e53.tar.gz
zig-eb2caf939023bba16e473661d4f3cd1c19616e53.zip
wasm: airStructFieldVal - Support packed structs
This implements loading a field from a packed struct, regardless of its field's type. This means it supports pointers, floats and integers. The commit also extracts the logic from airTrunc into its own `trunc` function so it can be re-used.
Diffstat (limited to 'src/codegen')
0 files changed, 0 insertions, 0 deletions