Files
zig/src
Andrew Kelley 588171c30b sema: after block gets peer type resolved, insert type coercions
on the break instruction operands. This involves a new TZIR instruction,
br_block_flat, which represents a break instruction where the operand is
the result of a flat block. See the doc comments on the instructions for
more details.

How it works: when adding break instructions in semantic analysis, the
underlying allocation is slightly padded so that it is the size of a
br_block_flat instruction, which allows the break instruction to later
be converted without removing instructions inside the parent body. The
extra type coercion instructions go into the body of the br_block_flat,
and backends are responsible for dispatching the instruction correctly
(it should map to the same function calls for related instructions).
2021-01-31 21:09:22 -07:00
..
2021-01-07 23:48:58 -08:00
2021-01-23 18:18:07 -07:00
2021-01-25 10:37:23 -08:00
2021-01-02 19:03:14 -07:00
2020-12-17 19:32:40 +01:00
2021-01-23 18:18:07 -07:00
2020-09-21 18:38:55 -07:00
2020-09-21 18:38:55 -07:00
2018-10-27 11:35:01 -04:00
2021-01-25 10:37:23 -08:00
2021-01-23 18:18:07 -07:00
2021-01-23 18:18:07 -07:00