aboutsummaryrefslogtreecommitdiff
path: root/src/Module.zig
diff options
context:
space:
mode:
authormlugg <mlugg@mlugg.co.uk>2024-02-13 01:54:57 +0000
committermlugg <mlugg@mlugg.co.uk>2024-02-16 11:26:33 +0000
commit434537213e406191959818f573b24ca45c1b0e45 (patch)
tree5892fc8f71a48ef1188cee96112a5d7a5706c14f /src/Module.zig
parentaba29f9789aff0c1ace2a1d0031818ec2c04070c (diff)
downloadzig-434537213e406191959818f573b24ca45c1b0e45.tar.gz
zig-434537213e406191959818f573b24ca45c1b0e45.zip
Sema: eliminate `src` field
`sema.src` is a failed experiment. It introduces complexity, and makes often unwarranted assumptions about the existence of instructions providing source locations, requiring an unreasonable amount of caution in AstGen for correctness. Eliminating it simplifies the whole frontend. This required adding source locations to a few instructions, but the cost in ZIR bytes should be counteracted by the other work on this branch.
Diffstat (limited to 'src/Module.zig')
0 files changed, 0 insertions, 0 deletions