about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp
diff options
context:
space:
mode:
authorCamille GILLOT <gillot.camille@gmail.com>2020-11-02 21:27:36 +0100
committerCamille GILLOT <gillot.camille@gmail.com>2021-08-22 20:23:29 +0200
commit283a8e14453c9f1532087caa1aa08743c8f4c58d (patch)
treeadcc55a3871d0df2b4e910823446c5d1313937a6 /compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp
parent45d6decc19b419448961fdb5ba3e062c9267a393 (diff)
downloadrust-283a8e14453c9f1532087caa1aa08743c8f4c58d.tar.gz
rust-283a8e14453c9f1532087caa1aa08743c8f4c58d.zip
Make all query forcing go through try_execute_query.
try_execute_query is now able to centralize the path for query
get/ensure/force.

try_execute_query now takes the dep_node as a parameter, so it can
accommodate `force`. This dep_node is an Option to avoid computing it in
the `get` fast path.

try_execute_query now returns both the result and the dep_node_index to
allow the caller to handle the dep graph.

The caller is responsible for marking the dependency.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp')
0 files changed, 0 insertions, 0 deletions