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 15:52:05 +1100
committerNicholas Nethercote <n.nethercote@gmail.com>2025-02-19 19:42:17 +1100
commit311e8d3e5dbcd0db9ca478f18ed0f8324a5e750e (patch)
treea37d9c6b2ad5839641dea724c39fef82294898d3 /compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp
parentcee430b2ce152092d14e7b8832a725582b4bcf64 (diff)
downloadrust-311e8d3e5dbcd0db9ca478f18ed0f8324a5e750e.tar.gz
rust-311e8d3e5dbcd0db9ca478f18ed0f8324a5e750e.zip
Remove `MirVisitable`.
The `MirVisitable` trait is just a complicated way to visit either a
statement or a terminator. (And its impl for `Terminator` is unused.) It
has a single use.

This commit removes it, replacing it with an if/else, which is shorter
and simpler.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp')
0 files changed, 0 insertions, 0 deletions