about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2023-02-07 17:57:15 +0100
committerGitHub <noreply@github.com>2023-02-07 17:57:15 +0100
commit8709e9be5adfe50fa765f73aec8fb5725ec20862 (patch)
tree9cfd0da47d01c1a8e22cf371f068d51e21f66b00 /compiler/rustc_codegen_llvm/src
parent401fe5c000d785fdc428ea753c9246dfe6bce935 (diff)
parent0ddf249532f188cdd947a333dfd8a009cc517ccc (diff)
downloadrust-8709e9be5adfe50fa765f73aec8fb5725ec20862.tar.gz
rust-8709e9be5adfe50fa765f73aec8fb5725ec20862.zip
Rollup merge of #107740 - oli-obk:lock_tcx, r=petrochenkov
Avoid locking the global context across the `after_expansion` callback

r? `@petrochenkov`

This was noticed in https://github.com/model-checking/kani/pull/2184#issuecomment-1416566982

This didn't have a perf impact, as it's just an additional 2 or 3 RefCell locks being created.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions