diff options
| author | mlugg <mlugg@mlugg.co.uk> | 2024-02-11 21:26:35 +0000 |
|---|---|---|
| committer | mlugg <mlugg@mlugg.co.uk> | 2024-02-16 11:26:33 +0000 |
| commit | aba29f9789aff0c1ace2a1d0031818ec2c04070c (patch) | |
| tree | 2ae6a6f39310d6abc61a0c5b707344a0cdb6c0dc /src/Sema.zig | |
| parent | 2e27967a81d325047e6d82f8c0722a8a654d1ac7 (diff) | |
| download | zig-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/Sema.zig')
0 files changed, 0 insertions, 0 deletions
