gh-139109: Replace _CHECK_STACK_SPACE with _CHECK_STACK_SPACE_OPERAND in JIT optiimizer (GH-144394)

This commit is contained in:
Hai Zhu 2026-02-03 01:12:01 +08:00 committed by GitHub
parent 141fd8b894
commit 89e6607e05
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 43 additions and 63 deletions

View file

@ -5372,7 +5372,6 @@ dummy_func(
tier2 op(_CHECK_STACK_SPACE_OPERAND, (framesize/2 --)) {
assert(framesize <= INT_MAX);
DEOPT_IF(!_PyThreadState_HasStackSpace(tstate, framesize));
DEOPT_IF(tstate->py_recursion_remaining <= 1);
}
op(_SAVE_RETURN_OFFSET, (--)) {