aboutsummaryrefslogtreecommitdiff
path: root/src/codegen/llvm.zig
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2021-10-02 19:09:54 -0700
committerAndrew Kelley <andrew@ziglang.org>2021-10-02 19:09:54 -0700
commit61a53a587558ff1fe1b0ec98bb424022885edccf (patch)
tree0e0ad82f7998a473104ec6fa07cb051a1b56a7c3 /src/codegen/llvm.zig
parentac52e005640e9dc7829356f857a82b0bc3894245 (diff)
downloadzig-61a53a587558ff1fe1b0ec98bb424022885edccf.tar.gz
zig-61a53a587558ff1fe1b0ec98bb424022885edccf.zip
AstGen: fix if, orelse, catch, with unreachable bodies
Before, the system to replace a result location pointer with a traditional break instruction did not notice the case when one of the bodies was unreachable. Now, the emitted ZIR code is improved and simplified in this case, resulting in a new passing behavior test.
Diffstat (limited to 'src/codegen/llvm.zig')
0 files changed, 0 insertions, 0 deletions