diff options
| author | mlugg <mlugg@mlugg.co.uk> | 2024-02-26 15:11:38 +0000 |
|---|---|---|
| committer | mlugg <mlugg@mlugg.co.uk> | 2024-02-29 23:38:17 +0000 |
| commit | f0a4bb6bd15b8a605e450af3359fe1622302463a (patch) | |
| tree | b24a50cc98682f16487b0e2e43abdd1f82ef7459 /src | |
| parent | 147beec7da5f3eb3a858037b806ad8b1b66bfffc (diff) | |
| download | zig-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
