aboutsummaryrefslogtreecommitdiff
path: root/src/codegen
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2022-03-28 18:28:08 -0700
committerAndrew Kelley <andrew@ziglang.org>2022-03-28 18:28:08 -0700
commit4dd65316b7d5756809394710078718b3ee536a9b (patch)
treee058370c2dc1a01693134a15a5fd8ca6cb7b550d /src/codegen
parent857743473ced48a493a713c0b86340ee110ce909 (diff)
downloadzig-4dd65316b7d5756809394710078718b3ee536a9b.tar.gz
zig-4dd65316b7d5756809394710078718b3ee536a9b.zip
AstGen: coerce break operands of labeled blocks
Similar code was already in place for conditional branches. This updates AstGen to do the same for labeled blocks. It takes advantage of the `store_to_block_ptr` instructions by mutating them in place to become `as` instructions, coercing the break operands before they are returned from the block.
Diffstat (limited to 'src/codegen')
0 files changed, 0 insertions, 0 deletions