Factor query arena allocation out from query caches
This commit is contained in:
parent
4b34c7b766
commit
a51a20531d
9 changed files with 160 additions and 254 deletions
|
@ -114,7 +114,7 @@ macro_rules! provide_one {
|
|||
fn $name<'tcx>(
|
||||
$tcx: TyCtxt<'tcx>,
|
||||
def_id_arg: ty::query::query_keys::$name<'tcx>,
|
||||
) -> ty::query::query_values::$name<'tcx> {
|
||||
) -> ty::query::query_provided::$name<'tcx> {
|
||||
let _prof_timer =
|
||||
$tcx.prof.generic_activity(concat!("metadata_decode_entry_", stringify!($name)));
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue