diff options
| author | Nicholas Nethercote <n.nethercote@gmail.com> | 2025-02-19 15:52:05 +1100 |
|---|---|---|
| committer | Nicholas Nethercote <n.nethercote@gmail.com> | 2025-02-19 19:42:17 +1100 |
| commit | 311e8d3e5dbcd0db9ca478f18ed0f8324a5e750e (patch) | |
| tree | a37d9c6b2ad5839641dea724c39fef82294898d3 /compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp | |
| parent | cee430b2ce152092d14e7b8832a725582b4bcf64 (diff) | |
| download | rust-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
