diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2021-03-22 17:12:52 -0700 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2021-03-22 17:29:56 -0700 |
| commit | 2f391df2a7ea7cc6e7500da214100fb49ea8f661 (patch) | |
| tree | 3f8a6f32559b15d1a6388e874489dfd7a1e91efb /src/codegen | |
| parent | 9f0b9b8da1a111d16eb8d1254212ff98a8b4be08 (diff) | |
| download | zig-2f391df2a7ea7cc6e7500da214100fb49ea8f661.tar.gz zig-2f391df2a7ea7cc6e7500da214100fb49ea8f661.zip | |
stage2: Sema improvements and boolean logic astgen
* add `Module.setBlockBody` and related functions
* redo astgen for `and` and `or` to use fewer ZIR instructions and
require less processing for comptime known values
* Sema: rework `analyzeBody` function. See the new doc comments in this
commit. Divides ZIR instructions up into 3 categories:
- always noreturn
- never noreturn
- sometimes noreturn
Diffstat (limited to 'src/codegen')
0 files changed, 0 insertions, 0 deletions
