diff options
| author | bors <bors@rust-lang.org> | 2023-02-26 09:44:54 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2023-02-26 09:44:54 +0000 |
| commit | 43ee4d15bf201f72c36abd7f02961df87dead441 (patch) | |
| tree | 129c3d2af19f712f7e2e9204c2e0d1f8a744e499 /compiler/rustc_query_impl/src | |
| parent | 70fd012439d75fd6ce561a6518b9b8fd399f455f (diff) | |
| parent | dd73080cc037678410ae7e016298a6bbafaae3a6 (diff) | |
| download | rust-43ee4d15bf201f72c36abd7f02961df87dead441.tar.gz rust-43ee4d15bf201f72c36abd7f02961df87dead441.zip | |
Auto merge of #108375 - Zoxc:query-inline, r=cjgillot
Add inlining attributes for query system functions These only have a single caller, but don't always get inlined.
Diffstat (limited to 'compiler/rustc_query_impl/src')
| -rw-r--r-- | compiler/rustc_query_impl/src/plumbing.rs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/compiler/rustc_query_impl/src/plumbing.rs b/compiler/rustc_query_impl/src/plumbing.rs index e2884f2026e..a8592bd7086 100644 --- a/compiler/rustc_query_impl/src/plumbing.rs +++ b/compiler/rustc_query_impl/src/plumbing.rs @@ -124,9 +124,7 @@ impl QueryContext for QueryCtxt<'_> { }; // Use the `ImplicitCtxt` while we execute the query. - tls::enter_context(&new_icx, || { - rustc_data_structures::stack::ensure_sufficient_stack(compute) - }) + tls::enter_context(&new_icx, compute) }) } |
