aboutsummaryrefslogtreecommitdiff
path: root/src/codegen.zig
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2021-12-23 23:57:02 -0700
committerAndrew Kelley <andrew@ziglang.org>2021-12-23 23:57:02 -0700
commit5b171f446f46c97de111bce0575452be0334a05e (patch)
treec3ce543696892a846f21241863c07c62f2fcf7f2 /src/codegen.zig
parent3763580e1e734b558499df5512f6a165f6db988b (diff)
downloadzig-5b171f446f46c97de111bce0575452be0334a05e.tar.gz
zig-5b171f446f46c97de111bce0575452be0334a05e.zip
stage2: initial implementation of packed structs
Layout algorithm: all `align(0)` fields are squished together as if they were a single integer with a number of bits equal to `@bitSizeOf` each field added together. Then the natural ABI alignment of that integer is used for that pseudo-field.
Diffstat (limited to 'src/codegen.zig')
0 files changed, 0 insertions, 0 deletions