about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp
diff options
context:
space:
mode:
authorNicholas Nethercote <n.nethercote@gmail.com>2025-02-19 14:08:52 +1100
committerNicholas Nethercote <n.nethercote@gmail.com>2025-02-20 14:00:36 +1100
commitcae9ebbe1e09c2878d56ab1425d3765f450fd5fe (patch)
tree4fa24e59a387e696797d984d2e46000ec9756197 /compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp
parent5986ff05d8480da038dd161b3a6aa79ff364a851 (diff)
downloadrust-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_llvm/llvm-wrapper/PassWrapper.cpp')
0 files changed, 0 insertions, 0 deletions