about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2024-07-24 09:48:19 +0000
committerbors <bors@rust-lang.org>2024-07-24 09:48:19 +0000
commit16953cef82d3a498cd12d5c722c1927d2278ae18 (patch)
tree4512a8ca033b936ba213b4d1782b2039c1a455b8 /compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp
parent959477ea367cbeeecaf07ecbf37d00f00e771ceb (diff)
parentb21a91ae3a368681b2c03442f484028367934b44 (diff)
downloadrust-16953cef82d3a498cd12d5c722c1927d2278ae18.tar.gz
rust-16953cef82d3a498cd12d5c722c1927d2278ae18.zip
Auto merge of #12830 - blyxyas:more-controlflow, r=y21,xFredNet
Use ControlFlow in more places

Now, instead of manually using variables in visitors to signify that a visit is "done" and that the visitor should stop traversing. We use the trait type "Result" to signify this (in relevant places).

I'll schedule a perf run, I don't think it will be much of a difference, but every bit of performance is welcomed :)

changelog: Improve performance, less memory use in visitors

Fixes #12829
r? `@y21`
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp')
0 files changed, 0 insertions, 0 deletions