diff options
| author | mlugg <mlugg@mlugg.co.uk> | 2025-05-28 00:31:16 +0100 |
|---|---|---|
| committer | mlugg <mlugg@mlugg.co.uk> | 2025-06-12 13:55:39 +0100 |
| commit | 424e6ac54b0f8bbfb43f24e28c71ac72169f3719 (patch) | |
| tree | f979f0e580e4ebff81eac779da8cb4889d57f1b1 /src/codegen.zig | |
| parent | 4a02e080d127cc577d40f8ea5d68122ba8ac4243 (diff) | |
| download | zig-424e6ac54b0f8bbfb43f24e28c71ac72169f3719.tar.gz zig-424e6ac54b0f8bbfb43f24e28c71ac72169f3719.zip | |
compiler: minor refactors to ZCU linking
* The `codegen_nav`, `codegen_func`, `codegen_type` tasks are renamed to
`link_nav`, `link_func`, and `link_type`, to more accurately reflect
their purpose of sending data to the *linker*. Currently, `link_func`
remains responsible for codegen; this will change in an upcoming
commit.
* Don't go on a pointless detour through `PerThread` when linking ZCU
functions/`Nav`s; so, the `linkerUpdateNav` etc logic now lives in
`link.zig`. Currently, `linkerUpdateFunc` is an exception, because it
has broader responsibilities including codegen, but this will be
solved in an upcoming commit.
Diffstat (limited to 'src/codegen.zig')
0 files changed, 0 insertions, 0 deletions
