diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2023-09-19 18:26:32 -0700 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2023-09-21 14:48:40 -0700 |
| commit | fa1beba74fe2c5104bea16a90daa314ba713f287 (patch) | |
| tree | dadbd1d18e0940edcad6dc3d6d066e6a7de18d68 /src/codegen/llvm.zig | |
| parent | accd5701c251c2741479fe08e56c8271c444f021 (diff) | |
| download | zig-fa1beba74fe2c5104bea16a90daa314ba713f287.tar.gz zig-fa1beba74fe2c5104bea16a90daa314ba713f287.zip | |
InternPool: implement getStructType
This also modifies AstGen so that struct types use 1 bit each from the
flags to communicate if there are nonzero inits, alignments, or comptime
fields. This allows adding a struct type to the InternPool without
looking ahead in memory to find out the answers to these questions,
which is easier for CPUs as well as for me, coding this logic right now.
Diffstat (limited to 'src/codegen/llvm.zig')
0 files changed, 0 insertions, 0 deletions
