mirror of
https://github.com/python/cpython.git
synced 2025-08-24 10:45:53 +00:00
gh-129989: Properly disable tailcall interp in configure (GH-129991)
Co-authored-by: Zanie Blue <contact@zanie.dev>
This commit is contained in:
parent
c26bed1160
commit
359c7dde3b
9 changed files with 287 additions and 286 deletions
|
@ -73,7 +73,7 @@
|
|||
#define TAIL_CALL_PARAMS _PyInterpreterFrame *frame, _PyStackRef *stack_pointer, PyThreadState *tstate, _Py_CODEUNIT *next_instr, int oparg
|
||||
#define TAIL_CALL_ARGS frame, stack_pointer, tstate, next_instr, oparg
|
||||
|
||||
#ifdef Py_TAIL_CALL_INTERP
|
||||
#if Py_TAIL_CALL_INTERP
|
||||
// Note: [[clang::musttail]] works for GCC 15, but not __attribute__((musttail)) at the moment.
|
||||
# define Py_MUSTTAIL [[clang::musttail]]
|
||||
# define Py_PRESERVE_NONE_CC __attribute__((preserve_none))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue