Skip to content

Commit 7e275d4

Browse files
gh-131798: JIT inline function addresses of builtin methods (#146906)
1 parent b8470de commit 7e275d4

File tree

11 files changed

+1724
-1282
lines changed

11 files changed

+1724
-1282
lines changed

Include/internal/pycore_ceval.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -447,15 +447,15 @@ _Py_BuiltinCallFastWithKeywords_StackRefSteal(
447447
PyAPI_FUNC(PyObject *)
448448
_PyCallMethodDescriptorFast_StackRefSteal(
449449
_PyStackRef callable,
450-
PyMethodDef *meth,
450+
PyCFunctionFast cfunc,
451451
PyObject *self,
452452
_PyStackRef *arguments,
453453
int total_args);
454454

455455
PyAPI_FUNC(PyObject *)
456456
_PyCallMethodDescriptorFastWithKeywords_StackRefSteal(
457457
_PyStackRef callable,
458-
PyMethodDef *meth,
458+
PyCFunctionFastWithKeywords cfunc,
459459
PyObject *self,
460460
_PyStackRef *arguments,
461461
int total_args);

0 commit comments

Comments
 (0)