about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/allocator.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2021-02-15 12:11:59 +0000
committerbors <bors@rust-lang.org>2021-02-15 12:11:59 +0000
commitd1206f950ffb76c76e1b74a19ae33c2b7d949454 (patch)
tree09a079c230c56f5ed40ebfa7b2707db4f922ccfb /compiler/rustc_codegen_llvm/src/allocator.rs
parent9503ea19edbf01b9435e80e17d60ce1b88390116 (diff)
parent3fc8ed68e99034ad5410cef47e8cd94828ef8946 (diff)
downloadrust-d1206f950ffb76c76e1b74a19ae33c2b7d949454.tar.gz
rust-d1206f950ffb76c76e1b74a19ae33c2b7d949454.zip
Auto merge of #81855 - cjgillot:ensure-cache, r=oli-obk
Check the result cache before the DepGraph when ensuring queries

Split out of https://github.com/rust-lang/rust/pull/70951

Calling `ensure` on already forced queries is a common operation.
Looking at the results cache first is faster than checking the DepGraph for a green node.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/allocator.rs')
0 files changed, 0 insertions, 0 deletions