mirror of https://github.com/python/cpython
gh-117657: Don't specialize RESUME_CHECK when specialization is disabled (GH-118349)
This commit is contained in:
parent
dc6b12d1b2
commit
7fabcc727d
|
@ -163,7 +163,9 @@ dummy_func(
|
|||
if ((oparg & RESUME_OPARG_LOCATION_MASK) < RESUME_AFTER_YIELD_FROM) {
|
||||
CHECK_EVAL_BREAKER();
|
||||
}
|
||||
#if ENABLE_SPECIALIZATION
|
||||
FT_ATOMIC_STORE_UINT8_RELAXED(this_instr->op.code, RESUME_CHECK);
|
||||
#endif /* ENABLE_SPECIALIZATION */
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -4955,7 +4955,9 @@
|
|||
if ((oparg & RESUME_OPARG_LOCATION_MASK) < RESUME_AFTER_YIELD_FROM) {
|
||||
CHECK_EVAL_BREAKER();
|
||||
}
|
||||
#if ENABLE_SPECIALIZATION
|
||||
FT_ATOMIC_STORE_UINT8_RELAXED(this_instr->op.code, RESUME_CHECK);
|
||||
#endif /* ENABLE_SPECIALIZATION */
|
||||
}
|
||||
DISPATCH();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue