diff options
| author | Nicholas Nethercote <n.nethercote@gmail.com> | 2025-02-19 14:08:52 +1100 |
|---|---|---|
| committer | Nicholas Nethercote <n.nethercote@gmail.com> | 2025-02-20 14:00:36 +1100 |
| commit | cae9ebbe1e09c2878d56ab1425d3765f450fd5fe (patch) | |
| tree | 4fa24e59a387e696797d984d2e46000ec9756197 /compiler/rustc_codegen_llvm/src/builder.rs | |
| parent | 5986ff05d8480da038dd161b3a6aa79ff364a851 (diff) | |
| download | rust-cae9ebbe1e09c2878d56ab1425d3765f450fd5fe.tar.gz rust-cae9ebbe1e09c2878d56ab1425d3765f450fd5fe.zip | |
Simplify `Postorder` customization.
`Postorder` has a `C: Customization<'tcx>` parameter, that gives it flexibility about how it computes successors. But in practice, there are only two `impls` of `Customization`, and one is for the unit type. This commit simplifies things by removing the generic parameter and replacing it with an `Option`.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/builder.rs')
0 files changed, 0 insertions, 0 deletions
