diff options
| author | Nicholas Nethercote <n.nethercote@gmail.com> | 2023-06-20 14:05:55 +1000 |
|---|---|---|
| committer | Nicholas Nethercote <n.nethercote@gmail.com> | 2023-06-22 09:07:15 +1000 |
| commit | 3bbf9f0128517815946a0c20efd7d80142dc050d (patch) | |
| tree | 38f9410ce6c3ecebe4845fc11d09323168dfc3ee /compiler/rustc_codegen_llvm | |
| parent | a521ba400dbfb2e9907238a4e7a5650d22bf2068 (diff) | |
| download | rust-3bbf9f0128517815946a0c20efd7d80142dc050d.tar.gz rust-3bbf9f0128517815946a0c20efd7d80142dc050d.zip | |
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.
Diffstat (limited to 'compiler/rustc_codegen_llvm')
0 files changed, 0 insertions, 0 deletions
