aboutsummaryrefslogtreecommitdiff
path: root/src/Module.zig
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2021-03-31 12:37:20 -0700
committerAndrew Kelley <andrew@ziglang.org>2021-03-31 12:37:20 -0700
commitc7b09be8de946d18c2f1afb532beb1b2426fab18 (patch)
tree5f92b32f5acb493587c5d4e22176b60c827af696 /src/Module.zig
parent549af582e722c4798076acef7948a1f0d2896289 (diff)
downloadzig-c7b09be8de946d18c2f1afb532beb1b2426fab18.tar.gz
zig-c7b09be8de946d18c2f1afb532beb1b2426fab18.zip
AstGen: improve switch expressions
* use the proper result location strategy even when there are noreturn prongs in the switch expression * when using break_operand strategy, actually omit the store_to_block_ptr instructions rather than eliding them. * for both strategies, properly handle noreturn prongs.
Diffstat (limited to 'src/Module.zig')
0 files changed, 0 insertions, 0 deletions