mirror of
https://github.com/python/cpython.git
synced 2025-07-23 11:15:24 +00:00
gh-129989: Change Py_TAIL_CALL_INTERP ifndef to ! (#130269)
Change Py_TAIL_CALL_INTERP ifndef to !
This commit is contained in:
parent
dab456dcef
commit
46ac85e4d9
4 changed files with 7 additions and 7 deletions
|
@ -1358,7 +1358,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);
|
||||
#ifndef Py_TAIL_CALL_INTERP
|
||||
#if !Py_TAIL_CALL_INTERP
|
||||
assert(throwflag);
|
||||
#endif
|
||||
assert(exc_value && PyExceptionInstance_Check(exc_value));
|
||||
|
|
|
@ -798,7 +798,7 @@ _PyEval_EvalFrameDefault(PyThreadState *tstate, _PyInterpreterFrame *frame, int
|
|||
#ifdef Py_STATS
|
||||
int lastopcode = 0;
|
||||
#endif
|
||||
#ifndef Py_TAIL_CALL_INTERP
|
||||
#if !Py_TAIL_CALL_INTERP
|
||||
uint8_t opcode; /* Current opcode */
|
||||
int oparg; /* Current opcode argument, if any */
|
||||
assert(tstate->current_frame == NULL || tstate->current_frame->stackpointer != NULL);
|
||||
|
|
6
Python/generated_cases.c.h
generated
6
Python/generated_cases.c.h
generated
|
@ -8,7 +8,7 @@
|
|||
#endif
|
||||
#define TIER_ONE 1
|
||||
|
||||
#ifndef Py_TAIL_CALL_INTERP
|
||||
#if !Py_TAIL_CALL_INTERP
|
||||
#if !USE_COMPUTED_GOTOS
|
||||
dispatch_opcode:
|
||||
switch (opcode)
|
||||
|
@ -4409,7 +4409,7 @@
|
|||
last_sent_val = stack_pointer[-2];
|
||||
sub_iter = stack_pointer[-3];
|
||||
PyObject *exc_value = PyStackRef_AsPyObjectBorrow(exc_value_st);
|
||||
#ifndef Py_TAIL_CALL_INTERP
|
||||
#if !Py_TAIL_CALL_INTERP
|
||||
assert(throwflag);
|
||||
#endif
|
||||
assert(exc_value && PyExceptionInstance_Check(exc_value));
|
||||
|
@ -11929,7 +11929,7 @@
|
|||
}
|
||||
|
||||
/* END INSTRUCTIONS */
|
||||
#ifndef Py_TAIL_CALL_INTERP
|
||||
#if !Py_TAIL_CALL_INTERP
|
||||
#if USE_COMPUTED_GOTOS
|
||||
_unknown_opcode:
|
||||
#else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue