Skip to content

Commit 6502c59

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

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

compiler/rustc_query_impl/src/execution.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,7 @@ where
157157
this.drop_and_maybe_poison(/* poison */ false);
158158
}
159159

160+
#[inline(always)]
160161
fn drop_and_maybe_poison(&mut self, poison: bool) {
161162
let status = {
162163
let mut shard = self.state.active.lock_shard_by_hash(self.key_hash);

0 commit comments

Comments
 (0)