diff options
| author | kcbanner <kcbanner@gmail.com> | 2023-10-21 12:03:36 -0400 |
|---|---|---|
| committer | Matthew Lugg <mlugg@mlugg.co.uk> | 2023-10-31 01:35:58 +0000 |
| commit | 4d044ee7e0b1ca61b8f2205f318449780ae23bd2 (patch) | |
| tree | 682b42b724238e7dc0231685eecaf0f408a1620e /src/codegen.zig | |
| parent | ffaeb4533395fafcf020d0aca2f2efd58e48a384 (diff) | |
| download | zig-4d044ee7e0b1ca61b8f2205f318449780ae23bd2.tar.gz zig-4d044ee7e0b1ca61b8f2205f318449780ae23bd2.zip | |
sema: Add union alignment resolution
- Add resolveUnionAlignment, to resolve a union's alignment only, without triggering layout resolution.
- Update resolveUnionLayout to cache size, alignment, and padding. abiSizeAdvanced and abiAlignmentAdvanced
now use this information instead of computing it each time.
Diffstat (limited to 'src/codegen.zig')
0 files changed, 0 insertions, 0 deletions
