aboutsummaryrefslogtreecommitdiff
path: root/src/codegen/llvm/bitcode_writer.zig
diff options
context:
space:
mode:
authorantlilja <liljaanton2001@gmail.com>2023-08-15 00:44:58 +0200
committerantlilja <liljaanton2001@gmail.com>2024-02-21 16:24:59 +0100
commit1d94e9ef83835c3549ec294c1b63d4230f9fcc10 (patch)
tree85cbb026bf697a805d381392b4364c927042eb78 /src/codegen/llvm/bitcode_writer.zig
parent8feae5d2d5fa8b82922f6dbb45b1aae7a4d6a93f (diff)
downloadzig-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