rust/compiler/rustc_codegen_ssa
Nicholas Nethercote 3bbf9f0128 Introduce CodegenState.
The codegen main loop has two bools, `codegen_done` and
`codegen_aborted`. There are only three valid combinations: `(false,
false)`, `(true, false)`, `(true, true)`.

This commit replaces them with a single tri-state enum, which makes
things clearer.
2023-06-22 09:07:15 +10:00
..
2023-06-22 09:07:15 +10:00
2023-05-23 16:23:59 +08:00

Please read the rustc-dev-guide chapter on Backend Agnostic Codegen.