mirror of
https://github.com/python/cpython.git
synced 2025-10-25 18:54:53 +00:00
gh-135755: Make Py_TAIL_CALL_INTERP macro private (#138981)
Rename Py_TAIL_CALL_INTERP to _Py_TAIL_CALL_INTERP.
This commit is contained in:
parent
2191497933
commit
6504f20cce
12 changed files with 315 additions and 315 deletions
|
|
@ -1219,7 +1219,7 @@ dummy_func(
|
|||
tstate->current_frame = frame->previous;
|
||||
assert(!_PyErr_Occurred(tstate));
|
||||
PyObject *result = PyStackRef_AsPyObjectSteal(retval);
|
||||
#if !Py_TAIL_CALL_INTERP
|
||||
#if !_Py_TAIL_CALL_INTERP
|
||||
assert(frame == &entry.frame);
|
||||
#endif
|
||||
#ifdef _Py_TIER2
|
||||
|
|
@ -1509,7 +1509,7 @@ dummy_func(
|
|||
|
||||
tier1 inst(CLEANUP_THROW, (sub_iter, last_sent_val, exc_value_st -- none, value)) {
|
||||
PyObject *exc_value = PyStackRef_AsPyObjectBorrow(exc_value_st);
|
||||
#if !Py_TAIL_CALL_INTERP
|
||||
#if !_Py_TAIL_CALL_INTERP
|
||||
assert(throwflag);
|
||||
#endif
|
||||
assert(exc_value && PyExceptionInstance_Check(exc_value));
|
||||
|
|
@ -5515,7 +5515,7 @@ dummy_func(
|
|||
}
|
||||
#endif
|
||||
RELOAD_STACK();
|
||||
#if Py_TAIL_CALL_INTERP
|
||||
#if _Py_TAIL_CALL_INTERP
|
||||
int opcode;
|
||||
#endif
|
||||
DISPATCH();
|
||||
|
|
@ -5533,7 +5533,7 @@ dummy_func(
|
|||
if (frame->owner == FRAME_OWNED_BY_INTERPRETER) {
|
||||
/* Restore previous frame and exit */
|
||||
tstate->current_frame = frame->previous;
|
||||
#if !Py_TAIL_CALL_INTERP
|
||||
#if !_Py_TAIL_CALL_INTERP
|
||||
assert(frame == &entry.frame);
|
||||
#endif
|
||||
#ifdef _Py_TIER2
|
||||
|
|
@ -5569,7 +5569,7 @@ dummy_func(
|
|||
assert(!_PyErr_Occurred(tstate));
|
||||
#endif
|
||||
RELOAD_STACK();
|
||||
#if Py_TAIL_CALL_INTERP
|
||||
#if _Py_TAIL_CALL_INTERP
|
||||
int opcode;
|
||||
#endif
|
||||
DISPATCH();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue