about summary refs log tree commit diff
path: root/compiler/rustc_interface/src
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2021-10-20 17:57:35 +0000
committerbors <bors@rust-lang.org>2021-10-20 17:57:35 +0000
commitefd0483949496b067cd5f7569d1b28cd3d5d3c72 (patch)
tree08d6811d9ded63416e9b93fce99f8ca865bfab23 /compiler/rustc_interface/src
parent3d71e749a244890cd370d49963e747cf92f4a037 (diff)
parentb11ec29e2828fe4d3df9d78c57f0e548a594991f (diff)
downloadrust-efd0483949496b067cd5f7569d1b28cd3d5d3c72.tar.gz
rust-efd0483949496b067cd5f7569d1b28cd3d5d3c72.zip
Auto merge of #89978 - cjgillot:qarray, r=Mark-Simulacrum
Merge the two depkind vtables

Knowledge of `DepKind`s is managed using two arrays containing flags (is_anon, eval_always, fingerprint_style), and function pointers (forcing and loading code).

This PR aims at merging the two arrays so as to reduce unneeded indirect calls and (hopefully) increase code locality.
r? `@ghost`
Diffstat (limited to 'compiler/rustc_interface/src')
-rw-r--r--compiler/rustc_interface/src/passes.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/rustc_interface/src/passes.rs b/compiler/rustc_interface/src/passes.rs
index bcfa0ef3520..eea32083568 100644
--- a/compiler/rustc_interface/src/passes.rs
+++ b/compiler/rustc_interface/src/passes.rs
@@ -838,6 +838,7 @@ pub fn create_global_ctxt<'tcx>(
                 dep_graph,
                 queries.on_disk_cache.as_ref().map(OnDiskCache::as_dyn),
                 queries.as_dyn(),
+                rustc_query_impl::query_callbacks(arena),
                 crate_name,
                 outputs,
             )