mirror of
https://github.com/python/cpython.git
synced 2025-08-30 13:38:43 +00:00
gh-98831: Modernize CALL and family (#101508)
Includes a slight improvement to `DECREF_INPUTS()`.
This commit is contained in:
parent
d9de079248
commit
616aec1ff1
6 changed files with 644 additions and 586 deletions
|
@ -688,12 +688,6 @@ static inline void _Py_LeaveRecursiveCallPy(PyThreadState *tstate) {
|
|||
}
|
||||
|
||||
|
||||
// GH-89279: Must be a macro to be sure it's inlined by MSVC.
|
||||
#define is_method(stack_pointer, args) (PEEK((args)+2) != NULL)
|
||||
|
||||
#define KWNAMES_LEN() \
|
||||
(kwnames == NULL ? 0 : ((int)PyTuple_GET_SIZE(kwnames)))
|
||||
|
||||
/* Disable unused label warnings. They are handy for debugging, even
|
||||
if computed gotos aren't used. */
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue