Skip to content

Commit 429e162

Browse files
committed
Auto merge of #153747 - nnethercote:ActiveJobGuard-perf, r=<try>
Inline `ActiveGuardDrop::drop_and_maybe_poison`.
2 parents d1ee5e5 + 2001e74 commit 429e162

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

compiler/rustc_query_impl/src/execution.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -174,6 +174,7 @@ where
174174
this.drop_and_maybe_poison(/* poison */ false);
175175
}
176176

177+
#[inline(always)]
177178
fn drop_and_maybe_poison(&mut self, poison: bool) {
178179
let status = {
179180
let mut shard = self.state.active.lock_shard_by_hash(self.key_hash);

0 commit comments

Comments
 (0)