aboutsummaryrefslogtreecommitdiff
path: root/src/Module.zig
diff options
context:
space:
mode:
authorEmily Bellows <emily.a.bellows@hey.com>2021-11-02 21:23:41 -0400
committerEmily Bellows <emily.a.bellows@hey.com>2021-11-08 14:23:55 -0500
commite3d638a49e09340bc1f779185cab3ad85d7045af (patch)
tree359853c070abc6130f9cb79900573f6add9d74bb /src/Module.zig
parenta7d215759e93be971ba5e560578e7473655cdd82 (diff)
downloadzig-e3d638a49e09340bc1f779185cab3ad85d7045af.tar.gz
zig-e3d638a49e09340bc1f779185cab3ad85d7045af.zip
C backend: while, struct tests, better undefined global handling
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.
Diffstat (limited to 'src/Module.zig')
0 files changed, 0 insertions, 0 deletions