diff options
| author | bors <bors@rust-lang.org> | 2021-03-12 11:46:50 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2021-03-12 11:46:50 +0000 |
| commit | 338647db73028aca0198f5330b15bf4bb769a1ea (patch) | |
| tree | c8941a1989734b947680de1d8435fb8ac4acaa42 /compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp | |
| parent | 0cc64a34e9823a4ce6491dc5e13e920cd4f5aa31 (diff) | |
| parent | ddd20ef8cba83d97bdfd0b1e113e6ff7ee6e93f3 (diff) | |
| download | rust-338647db73028aca0198f5330b15bf4bb769a1ea.tar.gz rust-338647db73028aca0198f5330b15bf4bb769a1ea.zip | |
Auto merge of #82422 - petrochenkov:allunst, r=oli-obk
expand: Do not allocate `Lrc` for `allow_internal_unstable` list unless necessary This allocation is done for any macro defined in the current crate, or used from a different crate. EDIT: This also removes an `Lrc` increment from each *use* of such macro, which may be more significant. Noticed when reviewing https://github.com/rust-lang/rust/pull/82367. This probably doesn't matter, but let's do a perf run.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
