diff options
| author | antlilja <liljaanton2001@gmail.com> | 2023-08-15 00:44:58 +0200 |
|---|---|---|
| committer | antlilja <liljaanton2001@gmail.com> | 2024-02-21 16:24:59 +0100 |
| commit | 1d94e9ef83835c3549ec294c1b63d4230f9fcc10 (patch) | |
| tree | 85cbb026bf697a805d381392b4364c927042eb78 /src/codegen/llvm/bitcode_writer.zig | |
| parent | 8feae5d2d5fa8b82922f6dbb45b1aae7a4d6a93f (diff) | |
| download | zig-1d94e9ef83835c3549ec294c1b63d4230f9fcc10.tar.gz zig-1d94e9ef83835c3549ec294c1b63d4230f9fcc10.zip | |
LLVM: Make sure child types get added first
The LLVM bitcode requires all type references in
structs to be to earlier defined types.
We make sure types are ordered in the builder
itself in order to avoid having to iterate the
types multiple times and changing the values
of type indicies.
Diffstat (limited to 'src/codegen/llvm/bitcode_writer.zig')
0 files changed, 0 insertions, 0 deletions
