about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/llvm/ffi.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2024-08-08 01:46:21 +0000
committerbors <bors@rust-lang.org>2024-08-08 01:46:21 +0000
commit0d65e5a1806db2662ba6a34d89c3b4bc506fb59a (patch)
tree86305f89547537c0875685dce15d3464ff10cf28 /compiler/rustc_codegen_llvm/src/llvm/ffi.rs
parent86e7875c13f048ed03d413aa83215df94f0467e8 (diff)
parentabada5fdcaa88193784c475f1b57081b0fca0a16 (diff)
downloadrust-0d65e5a1806db2662ba6a34d89c3b4bc506fb59a.tar.gz
rust-0d65e5a1806db2662ba6a34d89c3b4bc506fb59a.zip
Auto merge of #128550 - compiler-errors:shadowed-params-perf, r=petrochenkov
Only walk ribs to collect possibly shadowed params if we are adding params in our new rib

No need to collect params from parent ribs if we literally have no params to declare in this new rib.

Attempt to win back some of the perf in https://github.com/rust-lang/rust/pull/128357#issuecomment-2262677031.

Please review with whitespace *off*, the diff should be like 2 lines.

r? petrochenkov
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/llvm/ffi.rs')
0 files changed, 0 insertions, 0 deletions