diff --git a/Lib/test/test_generated_cases.py b/Lib/test/test_generated_cases.py
index d481cb07f757d8..c3fc777e92758b 100644
--- a/Lib/test/test_generated_cases.py
+++ b/Lib/test/test_generated_cases.py
@@ -135,7 +135,7 @@ def test_inst_no_args(self):
"""
output = """
TARGET(OP) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = OP;
(void)(opcode);
#endif
@@ -157,7 +157,7 @@ def test_inst_one_pop(self):
"""
output = """
TARGET(OP) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = OP;
(void)(opcode);
#endif
@@ -182,7 +182,7 @@ def test_inst_one_push(self):
"""
output = """
TARGET(OP) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = OP;
(void)(opcode);
#endif
@@ -208,7 +208,7 @@ def test_inst_one_push_one_pop(self):
"""
output = """
TARGET(OP) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = OP;
(void)(opcode);
#endif
@@ -235,7 +235,7 @@ def test_binary_op(self):
"""
output = """
TARGET(OP) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = OP;
(void)(opcode);
#endif
@@ -265,7 +265,7 @@ def test_overlap(self):
"""
output = """
TARGET(OP) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = OP;
(void)(opcode);
#endif
@@ -299,7 +299,7 @@ def test_predictions(self):
"""
output = """
TARGET(OP1) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = OP1;
(void)(opcode);
#endif
@@ -316,7 +316,7 @@ def test_predictions(self):
}
TARGET(OP3) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = OP3;
(void)(opcode);
#endif
@@ -358,7 +358,7 @@ def test_sync_sp(self):
"""
output = """
TARGET(A) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = A;
(void)(opcode);
#endif
@@ -381,7 +381,7 @@ def test_sync_sp(self):
}
TARGET(B) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = B;
(void)(opcode);
#endif
@@ -424,7 +424,7 @@ def test_error_if_plain(self):
"""
output = """
TARGET(OP) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = OP;
(void)(opcode);
#endif
@@ -447,7 +447,7 @@ def test_error_if_plain_with_comment(self):
"""
output = """
TARGET(OP) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = OP;
(void)(opcode);
#endif
@@ -473,7 +473,7 @@ def test_error_if_pop(self):
"""
output = """
TARGET(OP) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = OP;
(void)(opcode);
#endif
@@ -508,7 +508,7 @@ def test_error_if_pop_with_result(self):
"""
output = """
TARGET(OP) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = OP;
(void)(opcode);
#endif
@@ -540,7 +540,7 @@ def test_cache_effect(self):
"""
output = """
TARGET(OP) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = OP;
(void)(opcode);
#endif
@@ -573,7 +573,7 @@ def test_suppress_dispatch(self):
"""
output = """
TARGET(OP) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = OP;
(void)(opcode);
#endif
@@ -607,7 +607,7 @@ def test_macro_instruction(self):
"""
output = """
TARGET(OP) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = OP;
(void)(opcode);
#endif
@@ -648,7 +648,7 @@ def test_macro_instruction(self):
}
TARGET(OP1) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = OP1;
(void)(opcode);
#endif
@@ -670,7 +670,7 @@ def test_macro_instruction(self):
}
TARGET(OP3) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = OP3;
(void)(opcode);
#endif
@@ -705,7 +705,7 @@ def test_unused_caches(self):
"""
output = """
TARGET(OP) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = OP;
(void)(opcode);
#endif
@@ -731,7 +731,7 @@ def test_pseudo_instruction_no_flags(self):
"""
output = """
TARGET(OP1) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = OP1;
(void)(opcode);
#endif
@@ -754,7 +754,7 @@ def test_pseudo_instruction_with_flags(self):
"""
output = """
TARGET(OP1) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = OP1;
(void)(opcode);
#endif
@@ -780,7 +780,7 @@ def test_pseudo_instruction_as_sequence(self):
"""
output = """
TARGET(OP1) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = OP1;
(void)(opcode);
#endif
@@ -791,7 +791,7 @@ def test_pseudo_instruction_as_sequence(self):
}
TARGET(OP2) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = OP2;
(void)(opcode);
#endif
@@ -815,7 +815,7 @@ def test_array_input(self):
"""
output = """
TARGET(OP) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = OP;
(void)(opcode);
#endif
@@ -846,7 +846,7 @@ def test_array_output(self):
"""
output = """
TARGET(OP) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = OP;
(void)(opcode);
#endif
@@ -878,7 +878,7 @@ def test_array_input_output(self):
"""
output = """
TARGET(OP) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = OP;
(void)(opcode);
#endif
@@ -908,7 +908,7 @@ def test_array_error_if(self):
"""
output = """
TARGET(OP) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = OP;
(void)(opcode);
#endif
@@ -943,7 +943,7 @@ def test_macro_push_push(self):
"""
output = """
TARGET(M) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = M;
(void)(opcode);
#endif
@@ -980,7 +980,7 @@ def test_override_inst(self):
"""
output = """
TARGET(OP) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = OP;
(void)(opcode);
#endif
@@ -1005,7 +1005,7 @@ def test_override_op(self):
"""
output = """
TARGET(M) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = M;
(void)(opcode);
#endif
@@ -1026,7 +1026,7 @@ def test_annotated_inst(self):
"""
output = """
TARGET(OP) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = OP;
(void)(opcode);
#endif
@@ -1048,7 +1048,7 @@ def test_annotated_op(self):
"""
output = """
TARGET(M) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = M;
(void)(opcode);
#endif
@@ -1089,7 +1089,7 @@ def test_array_of_one(self):
"""
output = """
TARGET(OP) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = OP;
(void)(opcode);
#endif
@@ -1115,7 +1115,7 @@ def test_pointer_to_stackref(self):
"""
output = """
TARGET(OP) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = OP;
(void)(opcode);
#endif
@@ -1157,7 +1157,7 @@ def test_unused_named_values(self):
"""
output = """
TARGET(INST) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = INST;
(void)(opcode);
#endif
@@ -1187,7 +1187,7 @@ def test_used_unused_used(self):
"""
output = """
TARGET(TEST) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = TEST;
(void)(opcode);
#endif
@@ -1231,7 +1231,7 @@ def test_unused_used_used(self):
"""
output = """
TARGET(TEST) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = TEST;
(void)(opcode);
#endif
@@ -1274,7 +1274,7 @@ def test_flush(self):
"""
output = """
TARGET(TEST) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = TEST;
(void)(opcode);
#endif
@@ -1326,7 +1326,7 @@ def test_pop_on_error_peeks(self):
"""
output = """
TARGET(TEST) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = TEST;
(void)(opcode);
#endif
@@ -1377,7 +1377,7 @@ def test_push_then_error(self):
output = """
TARGET(TEST) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = TEST;
(void)(opcode);
#endif
@@ -1422,7 +1422,7 @@ def test_error_if_true(self):
"""
output = """
TARGET(OP1) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = OP1;
(void)(opcode);
#endif
@@ -1433,7 +1433,7 @@ def test_error_if_true(self):
}
TARGET(OP2) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = OP2;
(void)(opcode);
#endif
@@ -1495,7 +1495,7 @@ def test_stack_save_reload(self):
output = """
TARGET(BALANCED) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = BALANCED;
(void)(opcode);
#endif
@@ -1521,7 +1521,7 @@ def test_stack_save_reload_paired(self):
output = """
TARGET(BALANCED) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = BALANCED;
(void)(opcode);
#endif
@@ -1543,7 +1543,7 @@ def test_stack_reload_only(self):
output = """
TARGET(BALANCED) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = BALANCED;
(void)(opcode);
#endif
@@ -1568,7 +1568,7 @@ def test_stack_save_only(self):
output = """
TARGET(BALANCED) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = BALANCED;
(void)(opcode);
#endif
@@ -1594,7 +1594,7 @@ def test_instruction_size_macro(self):
output = """
TARGET(OP) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = OP;
(void)(opcode);
#endif
@@ -1633,7 +1633,7 @@ def test_escaping_call_next_to_cmacro(self):
"""
output = """
TARGET(OP) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = OP;
(void)(opcode);
#endif
@@ -1671,7 +1671,7 @@ def test_pystackref_frompyobject_new_next_to_cmacro(self):
"""
output = """
TARGET(OP) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = OP;
(void)(opcode);
#endif
@@ -1869,7 +1869,7 @@ def test_reassigning_live_inputs(self):
output = """
TARGET(OP) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = OP;
(void)(opcode);
#endif
@@ -1896,7 +1896,7 @@ def test_reassigning_dead_inputs(self):
"""
output = """
TARGET(OP) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = OP;
(void)(opcode);
#endif
diff --git a/PCbuild/pythoncore.vcxproj b/PCbuild/pythoncore.vcxproj
index b911c9385634d7..92170be211010a 100644
--- a/PCbuild/pythoncore.vcxproj
+++ b/PCbuild/pythoncore.vcxproj
@@ -107,7 +107,7 @@
_Py_HAVE_ZLIB;%(PreprocessorDefinitions)
_Py_JIT;%(PreprocessorDefinitions)
_Py_TIER2=$(UseTIER2);%(PreprocessorDefinitions)
- Py_TAIL_CALL_INTERP=1;%(PreprocessorDefinitions)
+ _Py_TAIL_CALL_INTERP=1;%(PreprocessorDefinitions)
HAVE_COMPUTED_GOTOS;%(PreprocessorDefinitions)
Py_REMOTE_DEBUG;%(PreprocessorDefinitions)
diff --git a/Python/bytecodes.c b/Python/bytecodes.c
index b159df156c2632..f186df2528a115 100644
--- a/Python/bytecodes.c
+++ b/Python/bytecodes.c
@@ -1169,7 +1169,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
@@ -1458,7 +1458,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));
@@ -5472,7 +5472,7 @@ dummy_func(
}
#endif
RELOAD_STACK();
-#if Py_TAIL_CALL_INTERP
+#if _Py_TAIL_CALL_INTERP
int opcode;
#endif
DISPATCH();
@@ -5490,7 +5490,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
@@ -5526,7 +5526,7 @@ dummy_func(
assert(!_PyErr_Occurred(tstate));
#endif
RELOAD_STACK();
-#if Py_TAIL_CALL_INTERP
+#if _Py_TAIL_CALL_INTERP
int opcode;
#endif
DISPATCH();
diff --git a/Python/ceval.c b/Python/ceval.c
index e5b1b82e45e14c..8c311f409c94e6 100644
--- a/Python/ceval.c
+++ b/Python/ceval.c
@@ -971,7 +971,7 @@ _PyObjectArray_Free(PyObject **array, PyObject **scratch)
/* This setting is reversed below following _PyEval_EvalFrameDefault */
#endif
-#if Py_TAIL_CALL_INTERP
+#if _Py_TAIL_CALL_INTERP
#include "opcode_targets.h"
#include "generated_cases.c.h"
#endif
@@ -1002,7 +1002,7 @@ _PyEval_EvalFrameDefault(PyThreadState *tstate, _PyInterpreterFrame *frame, int
_Py_EnsureTstateNotNULL(tstate);
CALL_STAT_INC(pyeval_calls);
-#if USE_COMPUTED_GOTOS && !Py_TAIL_CALL_INTERP
+#if USE_COMPUTED_GOTOS && !_Py_TAIL_CALL_INTERP
/* Import the static jump table */
#include "opcode_targets.h"
#endif
@@ -1010,7 +1010,7 @@ _PyEval_EvalFrameDefault(PyThreadState *tstate, _PyInterpreterFrame *frame, int
#ifdef Py_STATS
int lastopcode = 0;
#endif
-#if !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);
@@ -1082,7 +1082,7 @@ _PyEval_EvalFrameDefault(PyThreadState *tstate, _PyInterpreterFrame *frame, int
next_instr = frame->instr_ptr;
monitor_throw(tstate, frame, next_instr);
stack_pointer = _PyFrame_GetStackPointer(frame);
-#if Py_TAIL_CALL_INTERP
+#if _Py_TAIL_CALL_INTERP
# if Py_STATS
return _TAIL_CALL_error(frame, stack_pointer, tstate, next_instr, 0, lastopcode);
# else
@@ -1098,7 +1098,7 @@ _PyEval_EvalFrameDefault(PyThreadState *tstate, _PyInterpreterFrame *frame, int
_PyExecutorObject *current_executor = NULL;
const _PyUOpInstruction *next_uop = NULL;
#endif
-#if Py_TAIL_CALL_INTERP
+#if _Py_TAIL_CALL_INTERP
# if Py_STATS
return _TAIL_CALL_start_frame(frame, NULL, tstate, NULL, 0, lastopcode);
# else
diff --git a/Python/ceval_macros.h b/Python/ceval_macros.h
index 187ec8fdd26584..9effcc3ad935b8 100644
--- a/Python/ceval_macros.h
+++ b/Python/ceval_macros.h
@@ -78,7 +78,7 @@
# define TAIL_CALL_ARGS frame, stack_pointer, tstate, next_instr, oparg
#endif
-#if 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))
diff --git a/Python/generated_cases.c.h b/Python/generated_cases.c.h
index 19352a3f00b87b..ec77542f5ca84e 100644
--- a/Python/generated_cases.c.h
+++ b/Python/generated_cases.c.h
@@ -8,18 +8,18 @@
#endif
#define TIER_ONE 1
-#if !Py_TAIL_CALL_INTERP
+#if !_Py_TAIL_CALL_INTERP
#if !USE_COMPUTED_GOTOS
dispatch_opcode:
switch (opcode)
#endif
{
-#endif /* Py_TAIL_CALL_INTERP */
+#endif /* _Py_TAIL_CALL_INTERP */
/* BEGIN INSTRUCTIONS */
TARGET(BINARY_OP) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = BINARY_OP;
(void)(opcode);
#endif
@@ -82,7 +82,7 @@
}
TARGET(BINARY_OP_ADD_FLOAT) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = BINARY_OP_ADD_FLOAT;
(void)(opcode);
#endif
@@ -140,7 +140,7 @@
}
TARGET(BINARY_OP_ADD_INT) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = BINARY_OP_ADD_INT;
(void)(opcode);
#endif
@@ -200,7 +200,7 @@
}
TARGET(BINARY_OP_ADD_UNICODE) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = BINARY_OP_ADD_UNICODE;
(void)(opcode);
#endif
@@ -260,7 +260,7 @@
}
TARGET(BINARY_OP_EXTEND) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = BINARY_OP_EXTEND;
(void)(opcode);
#endif
@@ -324,7 +324,7 @@
}
TARGET(BINARY_OP_INPLACE_ADD_UNICODE) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = BINARY_OP_INPLACE_ADD_UNICODE;
(void)(opcode);
#endif
@@ -407,7 +407,7 @@
}
TARGET(BINARY_OP_MULTIPLY_FLOAT) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = BINARY_OP_MULTIPLY_FLOAT;
(void)(opcode);
#endif
@@ -465,7 +465,7 @@
}
TARGET(BINARY_OP_MULTIPLY_INT) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = BINARY_OP_MULTIPLY_INT;
(void)(opcode);
#endif
@@ -525,7 +525,7 @@
}
TARGET(BINARY_OP_SUBSCR_DICT) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = BINARY_OP_SUBSCR_DICT;
(void)(opcode);
#endif
@@ -591,7 +591,7 @@
}
TARGET(BINARY_OP_SUBSCR_GETITEM) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = BINARY_OP_SUBSCR_GETITEM;
(void)(opcode);
#endif
@@ -674,7 +674,7 @@
}
TARGET(BINARY_OP_SUBSCR_LIST_INT) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = BINARY_OP_SUBSCR_LIST_INT;
(void)(opcode);
#endif
@@ -764,7 +764,7 @@
}
TARGET(BINARY_OP_SUBSCR_LIST_SLICE) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = BINARY_OP_SUBSCR_LIST_SLICE;
(void)(opcode);
#endif
@@ -836,7 +836,7 @@
}
TARGET(BINARY_OP_SUBSCR_STR_INT) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = BINARY_OP_SUBSCR_STR_INT;
(void)(opcode);
#endif
@@ -914,7 +914,7 @@
}
TARGET(BINARY_OP_SUBSCR_TUPLE_INT) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = BINARY_OP_SUBSCR_TUPLE_INT;
(void)(opcode);
#endif
@@ -987,7 +987,7 @@
}
TARGET(BINARY_OP_SUBTRACT_FLOAT) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = BINARY_OP_SUBTRACT_FLOAT;
(void)(opcode);
#endif
@@ -1045,7 +1045,7 @@
}
TARGET(BINARY_OP_SUBTRACT_INT) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = BINARY_OP_SUBTRACT_INT;
(void)(opcode);
#endif
@@ -1105,7 +1105,7 @@
}
TARGET(BINARY_SLICE) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = BINARY_SLICE;
(void)(opcode);
#endif
@@ -1161,7 +1161,7 @@
}
TARGET(BUILD_INTERPOLATION) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = BUILD_INTERPOLATION;
(void)(opcode);
#endif
@@ -1219,7 +1219,7 @@
}
TARGET(BUILD_LIST) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = BUILD_LIST;
(void)(opcode);
#endif
@@ -1243,7 +1243,7 @@
}
TARGET(BUILD_MAP) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = BUILD_MAP;
(void)(opcode);
#endif
@@ -1295,7 +1295,7 @@
}
TARGET(BUILD_SET) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = BUILD_SET;
(void)(opcode);
#endif
@@ -1352,7 +1352,7 @@
}
TARGET(BUILD_SLICE) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = BUILD_SLICE;
(void)(opcode);
#endif
@@ -1387,7 +1387,7 @@
}
TARGET(BUILD_STRING) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = BUILD_STRING;
(void)(opcode);
#endif
@@ -1434,7 +1434,7 @@
}
TARGET(BUILD_TEMPLATE) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = BUILD_TEMPLATE;
(void)(opcode);
#endif
@@ -1472,7 +1472,7 @@
}
TARGET(BUILD_TUPLE) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = BUILD_TUPLE;
(void)(opcode);
#endif
@@ -1494,7 +1494,7 @@
}
TARGET(CACHE) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = CACHE;
(void)(opcode);
#endif
@@ -1507,7 +1507,7 @@
}
TARGET(CALL) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = CALL;
(void)(opcode);
#endif
@@ -1693,7 +1693,7 @@
}
TARGET(CALL_ALLOC_AND_ENTER_INIT) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = CALL_ALLOC_AND_ENTER_INIT;
(void)(opcode);
#endif
@@ -1814,7 +1814,7 @@
}
TARGET(CALL_BOUND_METHOD_EXACT_ARGS) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = CALL_BOUND_METHOD_EXACT_ARGS;
(void)(opcode);
#endif
@@ -1956,7 +1956,7 @@
}
TARGET(CALL_BOUND_METHOD_GENERAL) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = CALL_BOUND_METHOD_GENERAL;
(void)(opcode);
#endif
@@ -2084,7 +2084,7 @@
}
TARGET(CALL_BUILTIN_CLASS) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = CALL_BUILTIN_CLASS;
(void)(opcode);
#endif
@@ -2197,7 +2197,7 @@
}
TARGET(CALL_BUILTIN_FAST) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = CALL_BUILTIN_FAST;
(void)(opcode);
#endif
@@ -2314,7 +2314,7 @@
}
TARGET(CALL_BUILTIN_FAST_WITH_KEYWORDS) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = CALL_BUILTIN_FAST_WITH_KEYWORDS;
(void)(opcode);
#endif
@@ -2431,7 +2431,7 @@
}
TARGET(CALL_BUILTIN_O) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = CALL_BUILTIN_O;
(void)(opcode);
#endif
@@ -2523,7 +2523,7 @@
}
TARGET(CALL_FUNCTION_EX) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = CALL_FUNCTION_EX;
(void)(opcode);
#endif
@@ -2698,7 +2698,7 @@
}
TARGET(CALL_INTRINSIC_1) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = CALL_INTRINSIC_1;
(void)(opcode);
#endif
@@ -2728,7 +2728,7 @@
}
TARGET(CALL_INTRINSIC_2) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = CALL_INTRINSIC_2;
(void)(opcode);
#endif
@@ -2767,7 +2767,7 @@
}
TARGET(CALL_ISINSTANCE) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = CALL_ISINSTANCE;
(void)(opcode);
#endif
@@ -2836,7 +2836,7 @@
}
TARGET(CALL_KW) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = CALL_KW;
(void)(opcode);
#endif
@@ -3018,7 +3018,7 @@
}
TARGET(CALL_KW_BOUND_METHOD) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = CALL_KW_BOUND_METHOD;
(void)(opcode);
#endif
@@ -3148,7 +3148,7 @@
}
TARGET(CALL_KW_NON_PY) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = CALL_KW_NON_PY;
(void)(opcode);
#endif
@@ -3283,7 +3283,7 @@
}
TARGET(CALL_KW_PY) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = CALL_KW_PY;
(void)(opcode);
#endif
@@ -3393,7 +3393,7 @@
}
TARGET(CALL_LEN) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = CALL_LEN;
(void)(opcode);
#endif
@@ -3465,7 +3465,7 @@
}
TARGET(CALL_LIST_APPEND) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = CALL_LIST_APPEND;
(void)(opcode);
#endif
@@ -3532,7 +3532,7 @@
}
TARGET(CALL_METHOD_DESCRIPTOR_FAST) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = CALL_METHOD_DESCRIPTOR_FAST;
(void)(opcode);
#endif
@@ -3661,7 +3661,7 @@
}
TARGET(CALL_METHOD_DESCRIPTOR_FAST_WITH_KEYWORDS) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = CALL_METHOD_DESCRIPTOR_FAST_WITH_KEYWORDS;
(void)(opcode);
#endif
@@ -3792,7 +3792,7 @@
}
TARGET(CALL_METHOD_DESCRIPTOR_NOARGS) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = CALL_METHOD_DESCRIPTOR_NOARGS;
(void)(opcode);
#endif
@@ -3893,7 +3893,7 @@
}
TARGET(CALL_METHOD_DESCRIPTOR_O) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = CALL_METHOD_DESCRIPTOR_O;
(void)(opcode);
#endif
@@ -4007,7 +4007,7 @@
}
TARGET(CALL_NON_PY_GENERAL) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = CALL_NON_PY_GENERAL;
(void)(opcode);
#endif
@@ -4130,7 +4130,7 @@
}
TARGET(CALL_PY_EXACT_ARGS) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = CALL_PY_EXACT_ARGS;
(void)(opcode);
#endif
@@ -4242,7 +4242,7 @@
}
TARGET(CALL_PY_GENERAL) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = CALL_PY_GENERAL;
(void)(opcode);
#endif
@@ -4342,7 +4342,7 @@
}
TARGET(CALL_STR_1) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = CALL_STR_1;
(void)(opcode);
#endif
@@ -4422,7 +4422,7 @@
}
TARGET(CALL_TUPLE_1) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = CALL_TUPLE_1;
(void)(opcode);
#endif
@@ -4502,7 +4502,7 @@
}
TARGET(CALL_TYPE_1) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = CALL_TYPE_1;
(void)(opcode);
#endif
@@ -4557,7 +4557,7 @@
}
TARGET(CHECK_EG_MATCH) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = CHECK_EG_MATCH;
(void)(opcode);
#endif
@@ -4628,7 +4628,7 @@
}
TARGET(CHECK_EXC_MATCH) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = CHECK_EXC_MATCH;
(void)(opcode);
#endif
@@ -4665,7 +4665,7 @@
}
TARGET(CLEANUP_THROW) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = CLEANUP_THROW;
(void)(opcode);
#endif
@@ -4683,7 +4683,7 @@
last_sent_val = stack_pointer[-2];
sub_iter = stack_pointer[-3];
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));
@@ -4724,7 +4724,7 @@
}
TARGET(COMPARE_OP) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = COMPARE_OP;
(void)(opcode);
#endif
@@ -4797,7 +4797,7 @@
}
TARGET(COMPARE_OP_FLOAT) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = COMPARE_OP_FLOAT;
(void)(opcode);
#endif
@@ -4852,7 +4852,7 @@
}
TARGET(COMPARE_OP_INT) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = COMPARE_OP_INT;
(void)(opcode);
#endif
@@ -4919,7 +4919,7 @@
}
TARGET(COMPARE_OP_STR) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = COMPARE_OP_STR;
(void)(opcode);
#endif
@@ -4978,7 +4978,7 @@
}
TARGET(CONTAINS_OP) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = CONTAINS_OP;
(void)(opcode);
#endif
@@ -5038,7 +5038,7 @@
}
TARGET(CONTAINS_OP_DICT) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = CONTAINS_OP_DICT;
(void)(opcode);
#endif
@@ -5096,7 +5096,7 @@
}
TARGET(CONTAINS_OP_SET) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = CONTAINS_OP_SET;
(void)(opcode);
#endif
@@ -5154,7 +5154,7 @@
}
TARGET(CONVERT_VALUE) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = CONVERT_VALUE;
(void)(opcode);
#endif
@@ -5186,7 +5186,7 @@
}
TARGET(COPY) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = COPY;
(void)(opcode);
#endif
@@ -5205,7 +5205,7 @@
}
TARGET(COPY_FREE_VARS) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = COPY_FREE_VARS;
(void)(opcode);
#endif
@@ -5226,7 +5226,7 @@
}
TARGET(DELETE_ATTR) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = DELETE_ATTR;
(void)(opcode);
#endif
@@ -5251,7 +5251,7 @@
}
TARGET(DELETE_DEREF) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = DELETE_DEREF;
(void)(opcode);
#endif
@@ -5273,7 +5273,7 @@
}
TARGET(DELETE_FAST) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = DELETE_FAST;
(void)(opcode);
#endif
@@ -5299,7 +5299,7 @@
}
TARGET(DELETE_GLOBAL) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = DELETE_GLOBAL;
(void)(opcode);
#endif
@@ -5324,7 +5324,7 @@
}
TARGET(DELETE_NAME) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = DELETE_NAME;
(void)(opcode);
#endif
@@ -5356,7 +5356,7 @@
}
TARGET(DELETE_SUBSCR) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = DELETE_SUBSCR;
(void)(opcode);
#endif
@@ -5388,7 +5388,7 @@
}
TARGET(DICT_MERGE) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = DICT_MERGE;
(void)(opcode);
#endif
@@ -5427,7 +5427,7 @@
}
TARGET(DICT_UPDATE) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = DICT_UPDATE;
(void)(opcode);
#endif
@@ -5470,7 +5470,7 @@
}
TARGET(END_ASYNC_FOR) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = END_ASYNC_FOR;
(void)(opcode);
#endif
@@ -5515,7 +5515,7 @@
}
TARGET(END_FOR) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = END_FOR;
(void)(opcode);
#endif
@@ -5532,7 +5532,7 @@
}
TARGET(END_SEND) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = END_SEND;
(void)(opcode);
#endif
@@ -5555,7 +5555,7 @@
}
TARGET(ENTER_EXECUTOR) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = ENTER_EXECUTOR;
(void)(opcode);
#endif
@@ -5589,7 +5589,7 @@
}
TARGET(EXIT_INIT_CHECK) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = EXIT_INIT_CHECK;
(void)(opcode);
#endif
@@ -5612,7 +5612,7 @@
}
TARGET(EXTENDED_ARG) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = EXTENDED_ARG;
(void)(opcode);
#endif
@@ -5628,7 +5628,7 @@
}
TARGET(FORMAT_SIMPLE) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = FORMAT_SIMPLE;
(void)(opcode);
#endif
@@ -5664,7 +5664,7 @@
}
TARGET(FORMAT_WITH_SPEC) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = FORMAT_WITH_SPEC;
(void)(opcode);
#endif
@@ -5700,7 +5700,7 @@
}
TARGET(FOR_ITER) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = FOR_ITER;
(void)(opcode);
#endif
@@ -5771,7 +5771,7 @@
}
TARGET(FOR_ITER_GEN) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = FOR_ITER_GEN;
(void)(opcode);
#endif
@@ -5841,7 +5841,7 @@
}
TARGET(FOR_ITER_LIST) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = FOR_ITER_LIST;
(void)(opcode);
#endif
@@ -5940,7 +5940,7 @@
}
TARGET(FOR_ITER_RANGE) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = FOR_ITER_RANGE;
(void)(opcode);
#endif
@@ -6007,7 +6007,7 @@
}
TARGET(FOR_ITER_TUPLE) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = FOR_ITER_TUPLE;
(void)(opcode);
#endif
@@ -6082,7 +6082,7 @@
}
TARGET(GET_AITER) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = GET_AITER;
(void)(opcode);
#endif
@@ -6143,7 +6143,7 @@
}
TARGET(GET_ANEXT) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = GET_ANEXT;
(void)(opcode);
#endif
@@ -6167,7 +6167,7 @@
}
TARGET(GET_AWAITABLE) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = GET_AWAITABLE;
(void)(opcode);
#endif
@@ -6196,7 +6196,7 @@
}
TARGET(GET_ITER) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = GET_ITER;
(void)(opcode);
#endif
@@ -6230,7 +6230,7 @@
}
TARGET(GET_LEN) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = GET_LEN;
(void)(opcode);
#endif
@@ -6258,7 +6258,7 @@
}
TARGET(GET_YIELD_FROM_ITER) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = GET_YIELD_FROM_ITER;
(void)(opcode);
#endif
@@ -6303,7 +6303,7 @@
}
TARGET(IMPORT_FROM) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = IMPORT_FROM;
(void)(opcode);
#endif
@@ -6328,7 +6328,7 @@
}
TARGET(IMPORT_NAME) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = IMPORT_NAME;
(void)(opcode);
#endif
@@ -6367,7 +6367,7 @@
}
TARGET(INSTRUMENTED_CALL) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = INSTRUMENTED_CALL;
(void)(opcode);
#endif
@@ -6563,7 +6563,7 @@
}
TARGET(INSTRUMENTED_CALL_FUNCTION_EX) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = INSTRUMENTED_CALL_FUNCTION_EX;
(void)(opcode);
#endif
@@ -6738,7 +6738,7 @@
}
TARGET(INSTRUMENTED_CALL_KW) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = INSTRUMENTED_CALL_KW;
(void)(opcode);
#endif
@@ -6924,7 +6924,7 @@
}
TARGET(INSTRUMENTED_END_ASYNC_FOR) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = INSTRUMENTED_END_ASYNC_FOR;
(void)(opcode);
#endif
@@ -6977,7 +6977,7 @@
}
TARGET(INSTRUMENTED_END_FOR) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = INSTRUMENTED_END_FOR;
(void)(opcode);
#endif
@@ -7006,7 +7006,7 @@
}
TARGET(INSTRUMENTED_END_SEND) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = INSTRUMENTED_END_SEND;
(void)(opcode);
#endif
@@ -7040,7 +7040,7 @@
}
TARGET(INSTRUMENTED_FOR_ITER) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = INSTRUMENTED_FOR_ITER;
(void)(opcode);
#endif
@@ -7095,7 +7095,7 @@
}
TARGET(INSTRUMENTED_INSTRUCTION) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = INSTRUMENTED_INSTRUCTION;
(void)(opcode);
#endif
@@ -7122,7 +7122,7 @@
}
TARGET(INSTRUMENTED_JUMP_BACKWARD) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = INSTRUMENTED_JUMP_BACKWARD;
(void)(opcode);
#endif
@@ -7153,7 +7153,7 @@
}
TARGET(INSTRUMENTED_JUMP_FORWARD) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = INSTRUMENTED_JUMP_FORWARD;
(void)(opcode);
#endif
@@ -7167,7 +7167,7 @@
}
TARGET(INSTRUMENTED_LINE) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = INSTRUMENTED_LINE;
(void)(opcode);
#endif
@@ -7207,7 +7207,7 @@
}
TARGET(INSTRUMENTED_LOAD_SUPER_ATTR) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = INSTRUMENTED_LOAD_SUPER_ATTR;
(void)(opcode);
#endif
@@ -7327,7 +7327,7 @@
}
TARGET(INSTRUMENTED_NOT_TAKEN) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = INSTRUMENTED_NOT_TAKEN;
(void)(opcode);
#endif
@@ -7343,7 +7343,7 @@
}
TARGET(INSTRUMENTED_POP_ITER) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = INSTRUMENTED_POP_ITER;
(void)(opcode);
#endif
@@ -7365,7 +7365,7 @@
}
TARGET(INSTRUMENTED_POP_JUMP_IF_FALSE) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = INSTRUMENTED_POP_JUMP_IF_FALSE;
(void)(opcode);
#endif
@@ -7389,7 +7389,7 @@
}
TARGET(INSTRUMENTED_POP_JUMP_IF_NONE) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = INSTRUMENTED_POP_JUMP_IF_NONE;
(void)(opcode);
#endif
@@ -7420,7 +7420,7 @@
}
TARGET(INSTRUMENTED_POP_JUMP_IF_NOT_NONE) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = INSTRUMENTED_POP_JUMP_IF_NOT_NONE;
(void)(opcode);
#endif
@@ -7449,7 +7449,7 @@
}
TARGET(INSTRUMENTED_POP_JUMP_IF_TRUE) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = INSTRUMENTED_POP_JUMP_IF_TRUE;
(void)(opcode);
#endif
@@ -7473,7 +7473,7 @@
}
TARGET(INSTRUMENTED_RESUME) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = INSTRUMENTED_RESUME;
(void)(opcode);
#endif
@@ -7551,7 +7551,7 @@
}
TARGET(INSTRUMENTED_RETURN_VALUE) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = INSTRUMENTED_RETURN_VALUE;
(void)(opcode);
#endif
@@ -7600,7 +7600,7 @@
}
TARGET(INSTRUMENTED_YIELD_VALUE) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = INSTRUMENTED_YIELD_VALUE;
(void)(opcode);
#endif
@@ -7668,7 +7668,7 @@
}
TARGET(INTERPRETER_EXIT) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = INTERPRETER_EXIT;
(void)(opcode);
#endif
@@ -7682,7 +7682,7 @@
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
@@ -7703,7 +7703,7 @@
}
TARGET(IS_OP) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = IS_OP;
(void)(opcode);
#endif
@@ -7736,7 +7736,7 @@
}
TARGET(JUMP_BACKWARD) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = JUMP_BACKWARD;
(void)(opcode);
#endif
@@ -7779,7 +7779,7 @@
}
TARGET(JUMP_BACKWARD_JIT) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = JUMP_BACKWARD_JIT;
(void)(opcode);
#endif
@@ -7845,7 +7845,7 @@
}
TARGET(JUMP_BACKWARD_NO_INTERRUPT) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = JUMP_BACKWARD_NO_INTERRUPT;
(void)(opcode);
#endif
@@ -7858,7 +7858,7 @@
}
TARGET(JUMP_BACKWARD_NO_JIT) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = JUMP_BACKWARD_NO_JIT;
(void)(opcode);
#endif
@@ -7889,7 +7889,7 @@
}
TARGET(JUMP_FORWARD) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = JUMP_FORWARD;
(void)(opcode);
#endif
@@ -7901,7 +7901,7 @@
}
TARGET(LIST_APPEND) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = LIST_APPEND;
(void)(opcode);
#endif
@@ -7923,7 +7923,7 @@
}
TARGET(LIST_EXTEND) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = LIST_EXTEND;
(void)(opcode);
#endif
@@ -7970,7 +7970,7 @@
}
TARGET(LOAD_ATTR) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = LOAD_ATTR;
(void)(opcode);
#endif
@@ -8052,7 +8052,7 @@
}
TARGET(LOAD_ATTR_CLASS) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = LOAD_ATTR_CLASS;
(void)(opcode);
#endif
@@ -8110,7 +8110,7 @@
}
TARGET(LOAD_ATTR_CLASS_WITH_METACLASS_CHECK) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = LOAD_ATTR_CLASS_WITH_METACLASS_CHECK;
(void)(opcode);
#endif
@@ -8178,7 +8178,7 @@
}
TARGET(LOAD_ATTR_GETATTRIBUTE_OVERRIDDEN) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = LOAD_ATTR_GETATTRIBUTE_OVERRIDDEN;
(void)(opcode);
#endif
@@ -8236,7 +8236,7 @@
}
TARGET(LOAD_ATTR_INSTANCE_VALUE) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = LOAD_ATTR_INSTANCE_VALUE;
(void)(opcode);
#endif
@@ -8316,7 +8316,7 @@
}
TARGET(LOAD_ATTR_METHOD_LAZY_DICT) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = LOAD_ATTR_METHOD_LAZY_DICT;
(void)(opcode);
#endif
@@ -8372,7 +8372,7 @@
}
TARGET(LOAD_ATTR_METHOD_NO_DICT) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = LOAD_ATTR_METHOD_NO_DICT;
(void)(opcode);
#endif
@@ -8418,7 +8418,7 @@
}
TARGET(LOAD_ATTR_METHOD_WITH_VALUES) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = LOAD_ATTR_METHOD_WITH_VALUES;
(void)(opcode);
#endif
@@ -8485,7 +8485,7 @@
}
TARGET(LOAD_ATTR_MODULE) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = LOAD_ATTR_MODULE;
(void)(opcode);
#endif
@@ -8559,7 +8559,7 @@
}
TARGET(LOAD_ATTR_NONDESCRIPTOR_NO_DICT) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = LOAD_ATTR_NONDESCRIPTOR_NO_DICT;
(void)(opcode);
#endif
@@ -8606,7 +8606,7 @@
}
TARGET(LOAD_ATTR_NONDESCRIPTOR_WITH_VALUES) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = LOAD_ATTR_NONDESCRIPTOR_WITH_VALUES;
(void)(opcode);
#endif
@@ -8674,7 +8674,7 @@
}
TARGET(LOAD_ATTR_PROPERTY) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = LOAD_ATTR_PROPERTY;
(void)(opcode);
#endif
@@ -8767,7 +8767,7 @@
}
TARGET(LOAD_ATTR_SLOT) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = LOAD_ATTR_SLOT;
(void)(opcode);
#endif
@@ -8836,7 +8836,7 @@
}
TARGET(LOAD_ATTR_WITH_HINT) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = LOAD_ATTR_WITH_HINT;
(void)(opcode);
#endif
@@ -8946,7 +8946,7 @@
}
TARGET(LOAD_BUILD_CLASS) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = LOAD_BUILD_CLASS;
(void)(opcode);
#endif
@@ -8976,7 +8976,7 @@
}
TARGET(LOAD_COMMON_CONSTANT) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = LOAD_COMMON_CONSTANT;
(void)(opcode);
#endif
@@ -8993,7 +8993,7 @@
}
TARGET(LOAD_CONST) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = LOAD_CONST;
(void)(opcode);
#endif
@@ -9027,7 +9027,7 @@
}
TARGET(LOAD_CONST_IMMORTAL) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = LOAD_CONST_IMMORTAL;
(void)(opcode);
#endif
@@ -9046,7 +9046,7 @@
}
TARGET(LOAD_CONST_MORTAL) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = LOAD_CONST_MORTAL;
(void)(opcode);
#endif
@@ -9064,7 +9064,7 @@
}
TARGET(LOAD_DEREF) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = LOAD_DEREF;
(void)(opcode);
#endif
@@ -9092,7 +9092,7 @@
}
TARGET(LOAD_FAST) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = LOAD_FAST;
(void)(opcode);
#endif
@@ -9109,7 +9109,7 @@
}
TARGET(LOAD_FAST_AND_CLEAR) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = LOAD_FAST_AND_CLEAR;
(void)(opcode);
#endif
@@ -9126,7 +9126,7 @@
}
TARGET(LOAD_FAST_BORROW) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = LOAD_FAST_BORROW;
(void)(opcode);
#endif
@@ -9143,7 +9143,7 @@
}
TARGET(LOAD_FAST_BORROW_LOAD_FAST_BORROW) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = LOAD_FAST_BORROW_LOAD_FAST_BORROW;
(void)(opcode);
#endif
@@ -9164,7 +9164,7 @@
}
TARGET(LOAD_FAST_CHECK) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = LOAD_FAST_CHECK;
(void)(opcode);
#endif
@@ -9190,7 +9190,7 @@
}
TARGET(LOAD_FAST_LOAD_FAST) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = LOAD_FAST_LOAD_FAST;
(void)(opcode);
#endif
@@ -9211,7 +9211,7 @@
}
TARGET(LOAD_FROM_DICT_OR_DEREF) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = LOAD_FROM_DICT_OR_DEREF;
(void)(opcode);
#endif
@@ -9256,7 +9256,7 @@
}
TARGET(LOAD_FROM_DICT_OR_GLOBALS) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = LOAD_FROM_DICT_OR_GLOBALS;
(void)(opcode);
#endif
@@ -9331,7 +9331,7 @@
}
TARGET(LOAD_GLOBAL) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = LOAD_GLOBAL;
(void)(opcode);
#endif
@@ -9387,7 +9387,7 @@
}
TARGET(LOAD_GLOBAL_BUILTIN) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = LOAD_GLOBAL_BUILTIN;
(void)(opcode);
#endif
@@ -9467,7 +9467,7 @@
}
TARGET(LOAD_GLOBAL_MODULE) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = LOAD_GLOBAL_MODULE;
(void)(opcode);
#endif
@@ -9534,7 +9534,7 @@
}
TARGET(LOAD_LOCALS) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = LOAD_LOCALS;
(void)(opcode);
#endif
@@ -9558,7 +9558,7 @@
}
TARGET(LOAD_NAME) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = LOAD_NAME;
(void)(opcode);
#endif
@@ -9581,7 +9581,7 @@
}
TARGET(LOAD_SMALL_INT) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = LOAD_SMALL_INT;
(void)(opcode);
#endif
@@ -9599,7 +9599,7 @@
}
TARGET(LOAD_SPECIAL) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = LOAD_SPECIAL;
(void)(opcode);
#endif
@@ -9645,7 +9645,7 @@
}
TARGET(LOAD_SUPER_ATTR) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = LOAD_SUPER_ATTR;
(void)(opcode);
#endif
@@ -9782,7 +9782,7 @@
}
TARGET(LOAD_SUPER_ATTR_ATTR) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = LOAD_SUPER_ATTR_ATTR;
(void)(opcode);
#endif
@@ -9844,7 +9844,7 @@
}
TARGET(LOAD_SUPER_ATTR_METHOD) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = LOAD_SUPER_ATTR_METHOD;
(void)(opcode);
#endif
@@ -9922,7 +9922,7 @@
}
TARGET(MAKE_CELL) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = MAKE_CELL;
(void)(opcode);
#endif
@@ -9943,7 +9943,7 @@
}
TARGET(MAKE_FUNCTION) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = MAKE_FUNCTION;
(void)(opcode);
#endif
@@ -9976,7 +9976,7 @@
}
TARGET(MAP_ADD) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = MAP_ADD;
(void)(opcode);
#endif
@@ -10007,7 +10007,7 @@
}
TARGET(MATCH_CLASS) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = MATCH_CLASS;
(void)(opcode);
#endif
@@ -10059,7 +10059,7 @@
}
TARGET(MATCH_KEYS) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = MATCH_KEYS;
(void)(opcode);
#endif
@@ -10086,7 +10086,7 @@
}
TARGET(MATCH_MAPPING) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = MATCH_MAPPING;
(void)(opcode);
#endif
@@ -10105,7 +10105,7 @@
}
TARGET(MATCH_SEQUENCE) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = MATCH_SEQUENCE;
(void)(opcode);
#endif
@@ -10124,7 +10124,7 @@
}
TARGET(NOP) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = NOP;
(void)(opcode);
#endif
@@ -10135,7 +10135,7 @@
}
TARGET(NOT_TAKEN) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = NOT_TAKEN;
(void)(opcode);
#endif
@@ -10146,7 +10146,7 @@
}
TARGET(POP_EXCEPT) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = POP_EXCEPT;
(void)(opcode);
#endif
@@ -10167,7 +10167,7 @@
}
TARGET(POP_ITER) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = POP_ITER;
(void)(opcode);
#endif
@@ -10185,7 +10185,7 @@
}
TARGET(POP_JUMP_IF_FALSE) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = POP_JUMP_IF_FALSE;
(void)(opcode);
#endif
@@ -10207,7 +10207,7 @@
}
TARGET(POP_JUMP_IF_NONE) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = POP_JUMP_IF_NONE;
(void)(opcode);
#endif
@@ -10250,7 +10250,7 @@
}
TARGET(POP_JUMP_IF_NOT_NONE) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = POP_JUMP_IF_NOT_NONE;
(void)(opcode);
#endif
@@ -10293,7 +10293,7 @@
}
TARGET(POP_JUMP_IF_TRUE) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = POP_JUMP_IF_TRUE;
(void)(opcode);
#endif
@@ -10315,7 +10315,7 @@
}
TARGET(POP_TOP) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = POP_TOP;
(void)(opcode);
#endif
@@ -10333,7 +10333,7 @@
}
TARGET(PUSH_EXC_INFO) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = PUSH_EXC_INFO;
(void)(opcode);
#endif
@@ -10362,7 +10362,7 @@
}
TARGET(PUSH_NULL) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = PUSH_NULL;
(void)(opcode);
#endif
@@ -10378,7 +10378,7 @@
}
TARGET(RAISE_VARARGS) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = RAISE_VARARGS;
(void)(opcode);
#endif
@@ -10407,7 +10407,7 @@
}
TARGET(RERAISE) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = RERAISE;
(void)(opcode);
#endif
@@ -10435,7 +10435,7 @@
}
TARGET(RESERVED) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = RESERVED;
(void)(opcode);
#endif
@@ -10448,7 +10448,7 @@
}
TARGET(RESUME) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = RESUME;
(void)(opcode);
#endif
@@ -10522,7 +10522,7 @@
}
TARGET(RESUME_CHECK) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = RESUME_CHECK;
(void)(opcode);
#endif
@@ -10560,7 +10560,7 @@
}
TARGET(RETURN_GENERATOR) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = RETURN_GENERATOR;
(void)(opcode);
#endif
@@ -10599,7 +10599,7 @@
}
TARGET(RETURN_VALUE) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = RETURN_VALUE;
(void)(opcode);
#endif
@@ -10630,7 +10630,7 @@
}
TARGET(SEND) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = SEND;
(void)(opcode);
#endif
@@ -10735,7 +10735,7 @@
}
TARGET(SEND_GEN) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = SEND_GEN;
(void)(opcode);
#endif
@@ -10803,7 +10803,7 @@
}
TARGET(SETUP_ANNOTATIONS) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = SETUP_ANNOTATIONS;
(void)(opcode);
#endif
@@ -10849,7 +10849,7 @@
}
TARGET(SET_ADD) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = SET_ADD;
(void)(opcode);
#endif
@@ -10873,7 +10873,7 @@
}
TARGET(SET_FUNCTION_ATTRIBUTE) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = SET_FUNCTION_ATTRIBUTE;
(void)(opcode);
#endif
@@ -10901,7 +10901,7 @@
}
TARGET(SET_UPDATE) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = SET_UPDATE;
(void)(opcode);
#endif
@@ -10928,7 +10928,7 @@
}
TARGET(STORE_ATTR) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = STORE_ATTR;
(void)(opcode);
#endif
@@ -10985,7 +10985,7 @@
}
TARGET(STORE_ATTR_INSTANCE_VALUE) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = STORE_ATTR_INSTANCE_VALUE;
(void)(opcode);
#endif
@@ -11061,7 +11061,7 @@
}
TARGET(STORE_ATTR_SLOT) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = STORE_ATTR_SLOT;
(void)(opcode);
#endif
@@ -11112,7 +11112,7 @@
}
TARGET(STORE_ATTR_WITH_HINT) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = STORE_ATTR_WITH_HINT;
(void)(opcode);
#endif
@@ -11210,7 +11210,7 @@
}
TARGET(STORE_DEREF) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = STORE_DEREF;
(void)(opcode);
#endif
@@ -11229,7 +11229,7 @@
}
TARGET(STORE_FAST) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = STORE_FAST;
(void)(opcode);
#endif
@@ -11253,7 +11253,7 @@
}
TARGET(STORE_FAST_LOAD_FAST) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = STORE_FAST_LOAD_FAST;
(void)(opcode);
#endif
@@ -11280,7 +11280,7 @@
}
TARGET(STORE_FAST_STORE_FAST) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = STORE_FAST_STORE_FAST;
(void)(opcode);
#endif
@@ -11319,7 +11319,7 @@
}
TARGET(STORE_GLOBAL) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = STORE_GLOBAL;
(void)(opcode);
#endif
@@ -11344,7 +11344,7 @@
}
TARGET(STORE_NAME) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = STORE_NAME;
(void)(opcode);
#endif
@@ -11390,7 +11390,7 @@
}
TARGET(STORE_SLICE) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = STORE_SLICE;
(void)(opcode);
#endif
@@ -11450,7 +11450,7 @@
}
TARGET(STORE_SUBSCR) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = STORE_SUBSCR;
(void)(opcode);
#endif
@@ -11509,7 +11509,7 @@
}
TARGET(STORE_SUBSCR_DICT) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = STORE_SUBSCR_DICT;
(void)(opcode);
#endif
@@ -11560,7 +11560,7 @@
}
TARGET(STORE_SUBSCR_LIST_INT) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = STORE_SUBSCR_LIST_INT;
(void)(opcode);
#endif
@@ -11641,7 +11641,7 @@
}
TARGET(SWAP) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = SWAP;
(void)(opcode);
#endif
@@ -11662,7 +11662,7 @@
}
TARGET(TO_BOOL) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = TO_BOOL;
(void)(opcode);
#endif
@@ -11714,7 +11714,7 @@
}
TARGET(TO_BOOL_ALWAYS_TRUE) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = TO_BOOL_ALWAYS_TRUE;
(void)(opcode);
#endif
@@ -11757,7 +11757,7 @@
}
TARGET(TO_BOOL_BOOL) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = TO_BOOL_BOOL;
(void)(opcode);
#endif
@@ -11781,7 +11781,7 @@
}
TARGET(TO_BOOL_INT) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = TO_BOOL_INT;
(void)(opcode);
#endif
@@ -11821,7 +11821,7 @@
}
TARGET(TO_BOOL_LIST) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = TO_BOOL_LIST;
(void)(opcode);
#endif
@@ -11864,7 +11864,7 @@
}
TARGET(TO_BOOL_NONE) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = TO_BOOL_NONE;
(void)(opcode);
#endif
@@ -11891,7 +11891,7 @@
}
TARGET(TO_BOOL_STR) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = TO_BOOL_STR;
(void)(opcode);
#endif
@@ -11939,7 +11939,7 @@
}
TARGET(UNARY_INVERT) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = UNARY_INVERT;
(void)(opcode);
#endif
@@ -11968,7 +11968,7 @@
}
TARGET(UNARY_NEGATIVE) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = UNARY_NEGATIVE;
(void)(opcode);
#endif
@@ -11997,7 +11997,7 @@
}
TARGET(UNARY_NOT) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = UNARY_NOT;
(void)(opcode);
#endif
@@ -12015,7 +12015,7 @@
}
TARGET(UNPACK_EX) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = UNPACK_EX;
(void)(opcode);
#endif
@@ -12042,7 +12042,7 @@
}
TARGET(UNPACK_SEQUENCE) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = UNPACK_SEQUENCE;
(void)(opcode);
#endif
@@ -12093,7 +12093,7 @@
}
TARGET(UNPACK_SEQUENCE_LIST) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = UNPACK_SEQUENCE_LIST;
(void)(opcode);
#endif
@@ -12152,7 +12152,7 @@
}
TARGET(UNPACK_SEQUENCE_TUPLE) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = UNPACK_SEQUENCE_TUPLE;
(void)(opcode);
#endif
@@ -12202,7 +12202,7 @@
}
TARGET(UNPACK_SEQUENCE_TWO_TUPLE) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = UNPACK_SEQUENCE_TWO_TUPLE;
(void)(opcode);
#endif
@@ -12253,7 +12253,7 @@
}
TARGET(WITH_EXCEPT_START) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = WITH_EXCEPT_START;
(void)(opcode);
#endif
@@ -12298,7 +12298,7 @@
}
TARGET(YIELD_VALUE) {
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = YIELD_VALUE;
(void)(opcode);
#endif
@@ -12344,7 +12344,7 @@
}
/* END INSTRUCTIONS */
-#if !Py_TAIL_CALL_INTERP
+#if !_Py_TAIL_CALL_INTERP
#if USE_COMPUTED_GOTOS
_unknown_opcode:
#else
@@ -12366,7 +12366,7 @@ JUMP_TO_LABEL(error);
/* This should never be reached. Every opcode should end with DISPATCH()
or goto error. */
Py_UNREACHABLE();
-#endif /* Py_TAIL_CALL_INTERP */
+#endif /* _Py_TAIL_CALL_INTERP */
/* BEGIN LABELS */
LABEL(pop_2_error)
@@ -12452,7 +12452,7 @@ JUMP_TO_LABEL(error);
}
#endif
stack_pointer = _PyFrame_GetStackPointer(frame);
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode;
#endif
DISPATCH();
@@ -12469,7 +12469,7 @@ JUMP_TO_LABEL(error);
frame->return_offset = 0;
if (frame->owner == FRAME_OWNED_BY_INTERPRETER) {
tstate->current_frame = frame->previous;
- #if !Py_TAIL_CALL_INTERP
+ #if !_Py_TAIL_CALL_INTERP
assert(frame == &entry.frame);
#endif
#ifdef _Py_TIER2
@@ -12503,7 +12503,7 @@ JUMP_TO_LABEL(error);
assert(!_PyErr_Occurred(tstate));
#endif
stack_pointer = _PyFrame_GetStackPointer(frame);
- #if Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode;
#endif
DISPATCH();
diff --git a/Python/opcode_targets.h b/Python/opcode_targets.h
index 8af445d7d6ab32..cb72921b46b787 100644
--- a/Python/opcode_targets.h
+++ b/Python/opcode_targets.h
@@ -1,4 +1,4 @@
-#if !Py_TAIL_CALL_INTERP
+#if !_Py_TAIL_CALL_INTERP
static void *opcode_targets[256] = {
&&TARGET_CACHE,
&&TARGET_BINARY_SLICE,
@@ -257,7 +257,7 @@ static void *opcode_targets[256] = {
&&TARGET_INSTRUMENTED_LINE,
&&TARGET_ENTER_EXECUTOR,
};
-#else /* Py_TAIL_CALL_INTERP */
+#else /* _Py_TAIL_CALL_INTERP */
static py_tail_call_funcptr INSTRUCTION_TABLE[256];
Py_PRESERVE_NONE_CC static PyObject *_TAIL_CALL_pop_2_error(TAIL_CALL_PARAMS);
@@ -763,4 +763,4 @@ static py_tail_call_funcptr INSTRUCTION_TABLE[256] = {
[232] = _TAIL_CALL_UNKNOWN_OPCODE,
[233] = _TAIL_CALL_UNKNOWN_OPCODE,
};
-#endif /* Py_TAIL_CALL_INTERP */
+#endif /* _Py_TAIL_CALL_INTERP */
diff --git a/Tools/cases_generator/target_generator.py b/Tools/cases_generator/target_generator.py
index ca151ff640a30c..1a1a014837e259 100644
--- a/Tools/cases_generator/target_generator.py
+++ b/Tools/cases_generator/target_generator.py
@@ -26,12 +26,12 @@ def write_opcode_targets(analysis: Analysis, out: CWriter) -> None:
for name, op in analysis.opmap.items():
if op < 256:
targets[op] = f"&&TARGET_{name},\n"
- out.emit("#if !Py_TAIL_CALL_INTERP\n")
+ out.emit("#if !_Py_TAIL_CALL_INTERP\n")
out.emit("static void *opcode_targets[256] = {\n")
for target in targets:
out.emit(target)
out.emit("};\n")
- out.emit("#else /* Py_TAIL_CALL_INTERP */\n")
+ out.emit("#else /* _Py_TAIL_CALL_INTERP */\n")
def function_proto(name: str) -> str:
return f"Py_PRESERVE_NONE_CC static PyObject *_TAIL_CALL_{name}(TAIL_CALL_PARAMS)"
@@ -68,7 +68,7 @@ def write_tailcall_dispatch_table(analysis: Analysis, out: CWriter) -> None:
if rest not in named_values:
out.emit(f"[{rest}] = _TAIL_CALL_UNKNOWN_OPCODE,\n")
out.emit("};\n")
- outfile.write("#endif /* Py_TAIL_CALL_INTERP */\n")
+ outfile.write("#endif /* _Py_TAIL_CALL_INTERP */\n")
arg_parser = argparse.ArgumentParser(
description="Generate the file with dispatch targets.",
diff --git a/Tools/cases_generator/tier1_generator.py b/Tools/cases_generator/tier1_generator.py
index 32dc346d5e891a..e52bc13c7d1bc9 100644
--- a/Tools/cases_generator/tier1_generator.py
+++ b/Tools/cases_generator/tier1_generator.py
@@ -157,20 +157,20 @@ def generate_tier1(
#define TIER_ONE 1
""")
outfile.write(f"""
-#if !Py_TAIL_CALL_INTERP
+#if !_Py_TAIL_CALL_INTERP
#if !USE_COMPUTED_GOTOS
dispatch_opcode:
switch (opcode)
#endif
{{
-#endif /* Py_TAIL_CALL_INTERP */
+#endif /* _Py_TAIL_CALL_INTERP */
{INSTRUCTION_START_MARKER}
"""
)
generate_tier1_cases(analysis, outfile, lines)
outfile.write(f"""
{INSTRUCTION_END_MARKER}
-#if !Py_TAIL_CALL_INTERP
+#if !_Py_TAIL_CALL_INTERP
#if USE_COMPUTED_GOTOS
_unknown_opcode:
#else
@@ -186,7 +186,7 @@ def generate_tier1(
/* This should never be reached. Every opcode should end with DISPATCH()
or goto error. */
Py_UNREACHABLE();
-#endif /* Py_TAIL_CALL_INTERP */
+#endif /* _Py_TAIL_CALL_INTERP */
{LABEL_START_MARKER}
""")
out = CWriter(outfile, 2, lines)
@@ -226,7 +226,7 @@ def generate_tier1_cases(
popped = get_popped(inst, analysis)
# We need to ifdef it because this breaks platforms
# without computed gotos/tail calling.
- out.emit(f"#if Py_TAIL_CALL_INTERP\n")
+ out.emit(f"#if _Py_TAIL_CALL_INTERP\n")
out.emit(f"int opcode = {name};\n")
out.emit(f"(void)(opcode);\n")
out.emit(f"#endif\n")
diff --git a/configure b/configure
index 6383271b477fd1..d2829b3b351898 100755
--- a/configure
+++ b/configure
@@ -29894,7 +29894,7 @@ then :
if test "$withval" = yes
then
-printf "%s\n" "#define Py_TAIL_CALL_INTERP 1" >>confdefs.h
+printf "%s\n" "#define _Py_TAIL_CALL_INTERP 1" >>confdefs.h
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
printf "%s\n" "yes" >&6; }
@@ -29902,7 +29902,7 @@ fi
if test "$withval" = no
then
-printf "%s\n" "#define Py_TAIL_CALL_INTERP 0" >>confdefs.h
+printf "%s\n" "#define _Py_TAIL_CALL_INTERP 0" >>confdefs.h
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
printf "%s\n" "no" >&6; }
diff --git a/configure.ac b/configure.ac
index 42d94776cc7ced..fe5cce3c135097 100644
--- a/configure.ac
+++ b/configure.ac
@@ -7143,13 +7143,13 @@ AC_ARG_WITH(
[
if test "$withval" = yes
then
- AC_DEFINE([Py_TAIL_CALL_INTERP], [1],
+ AC_DEFINE([_Py_TAIL_CALL_INTERP], [1],
[Define if you want to use tail-calling interpreters in CPython.])
AC_MSG_RESULT([yes])
fi
if test "$withval" = no
then
- AC_DEFINE([Py_TAIL_CALL_INTERP], [0],
+ AC_DEFINE([_Py_TAIL_CALL_INTERP], [0],
[Define if you want to use tail-calling interpreters in CPython.])
AC_MSG_RESULT([no])
fi
diff --git a/pyconfig.h.in b/pyconfig.h.in
index 1c533b2bfb7fb4..2cc68c4b968e21 100644
--- a/pyconfig.h.in
+++ b/pyconfig.h.in
@@ -1749,9 +1749,6 @@
/* The version of SunOS/Solaris as reported by `uname -r' without the dot. */
#undef Py_SUNOS_VERSION
-/* Define if you want to use tail-calling interpreters in CPython. */
-#undef Py_TAIL_CALL_INTERP
-
/* Define if you want to enable tracing references for debugging purpose */
#undef Py_TRACE_REFS
@@ -2026,6 +2023,9 @@
/* Define if year with century should be normalized for strftime. */
#undef _Py_NORMALIZE_CENTURY
+/* Define if you want to use tail-calling interpreters in CPython. */
+#undef _Py_TAIL_CALL_INTERP
+
/* Define to force use of thread-safe errno, h_errno, and other functions */
#undef _REENTRANT