Skip to content

Commit

Permalink
Disable specialization
Browse files Browse the repository at this point in the history
  • Loading branch information
mdboom committed Jul 26, 2023
1 parent ef5bac9 commit 4daaace
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions Python/ceval.c
Original file line number Diff line number Diff line change
Expand Up @@ -958,12 +958,6 @@ GETITEM(PyObject *v, Py_ssize_t i) {
static _Py_ALWAYS_INLINE int
DECREMENT_ADAPTIVE_COUNTER(uint16_t *ptr)
{
uint16_t counter = _Py_atomic_load_uint16_relaxed(ptr);
if (ADAPTIVE_COUNTER_IS_ZERO(counter)) {
return 1;
}
counter -= (1 << ADAPTIVE_BACKOFF_BITS);
_Py_atomic_store_uint16_relaxed(ptr, counter);
return 0;
}

Expand Down

0 comments on commit 4daaace

Please sign in to comment.