aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormlugg <mlugg@mlugg.co.uk>2024-02-26 15:11:38 +0000
committermlugg <mlugg@mlugg.co.uk>2024-02-29 23:38:17 +0000
commitf0a4bb6bd15b8a605e450af3359fe1622302463a (patch)
treeb24a50cc98682f16487b0e2e43abdd1f82ef7459 /src
parent147beec7da5f3eb3a858037b806ad8b1b66bfffc (diff)
downloadzig-f0a4bb6bd15b8a605e450af3359fe1622302463a.tar.gz
zig-f0a4bb6bd15b8a605e450af3359fe1622302463a.zip
AstGen: avoid unnecessary coercion instructions
Coercions such as `@as(usize, 0)` can be trivially elided by matching these cases and translating to fixed InternPool indices.
Diffstat (limited to 'src')
0 files changed, 0 insertions, 0 deletions