diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2021-07-07 20:47:21 -0700 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2021-07-07 20:47:21 -0700 |
| commit | c2e66d9bab396a69514ec7c3c41fb0404e542f21 (patch) | |
| tree | fbc8b06cd459cd5e4ad2b39384c9d5d73e25c8ee /lib/std/debug.zig | |
| parent | 5c8bd443d92c6306f60857720103ae46ca7b8b3e (diff) | |
| download | zig-c2e66d9bab396a69514ec7c3c41fb0404e542f21.tar.gz zig-c2e66d9bab396a69514ec7c3c41fb0404e542f21.zip | |
stage2: basic inferred error set support
* Inferred error sets are stored in the return Type of the function,
owned by the Module.Fn. So it cleans up that memory in deinit().
* Sema: update the inferred error set in zirRetErrValue
- Update relevant code in wrapErrorUnion
* C backend: improve some some instructions to take advantage of
liveness analysis to avoid being emitted when unused.
* C backend: when an error union has a payload type with no runtime
bits, emit the error union as the same type as the error set.
Diffstat (limited to 'lib/std/debug.zig')
0 files changed, 0 insertions, 0 deletions
