GH-118093: Turn some DEOPT_IFs into EXIT_IFs (GH-122998)

This commit is contained in:
Brandt Bucher 2024-08-14 07:54:42 -07:00 committed by GitHub
parent 51185923a8
commit f84754b705
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 42 additions and 42 deletions

View file

@ -2193,7 +2193,7 @@
_PyStackRef arg_stackref = args[1];
_PyStackRef self_stackref = args[0];
DEOPT_IF(!Py_IS_TYPE(PyStackRef_AsPyObjectBorrow(self_stackref),
method->d_common.d_type), CALL);
method->d_common.d_type), CALL);
STAT_INC(CALL, hit);
PyCFunction cfunc = meth->ml_meth;
_Py_EnterRecursiveCallTstateUnchecked(tstate);