mirror of
https://codeberg.org/ziglang/zig
synced 2026-11-18 07:05:05 +00:00
1. Function signatures that return a no member struct return void 2. Undefined var decls don't get a value generated for them 3. Don't generate bitcast code if the result isn't used, since bitcast is a pure function. Right now struct handling code generates some weird unused bitcast AIR, and this optimization side steps that issue.
60 lines
1.3 KiB
60 lines
1.3 KiB