1
Fork 0

Make alloc_self_profile_query_strings a standalone function.

This commit is contained in:
Camille GILLOT 2021-01-17 14:57:34 +01:00
parent 5d71b99690
commit 0e9cac40a6
4 changed files with 41 additions and 38 deletions

View file

@ -429,7 +429,7 @@ impl Compiler {
{
let _prof_timer =
queries.session().prof.generic_activity("self_profile_alloc_query_strings");
gcx.enter(|tcx| tcx.alloc_self_profile_query_strings());
gcx.enter(query::alloc_self_profile_query_strings);
}
if self.session().opts.debugging_opts.query_stats {