aboutsummaryrefslogtreecommitdiff
path: root/src/Module.zig
diff options
context:
space:
mode:
authormlugg <mlugg@mlugg.co.uk>2024-02-11 21:26:35 +0000
committermlugg <mlugg@mlugg.co.uk>2024-02-16 11:26:33 +0000
commitaba29f9789aff0c1ace2a1d0031818ec2c04070c (patch)
tree2ae6a6f39310d6abc61a0c5b707344a0cdb6c0dc /src/Module.zig
parent2e27967a81d325047e6d82f8c0722a8a654d1ac7 (diff)
downloadzig-aba29f9789aff0c1ace2a1d0031818ec2c04070c.tar.gz
zig-aba29f9789aff0c1ace2a1d0031818ec2c04070c.zip
AstGen: fix elision of unnecessary `dbg_stmt` instructions
AstGen has logic to elide leading `dbg_stmt` instructions when multiple are emitted consecutively; however, it only applied in some cases. A simple reshuffle here makes this logic apply universally, saving some bytes in ZIR.
Diffstat (limited to 'src/Module.zig')
0 files changed, 0 insertions, 0 deletions