summaryrefslogtreecommitdiffstats
path: root/Python/ceval.c
diff options
context:
space:
mode:
Diffstat (limited to 'Python/ceval.c')
-rw-r--r--Python/ceval.c23
1 files changed, 2 insertions, 21 deletions
diff --git a/Python/ceval.c b/Python/ceval.c
index f4b3a41..a712446 100644
--- a/Python/ceval.c
+++ b/Python/ceval.c
@@ -1054,13 +1054,13 @@ enter_tier_two:
uint64_t trace_uop_execution_counter = 0;
#endif
- assert(next_uop->opcode == _START_EXECUTOR || next_uop->opcode == _COLD_EXIT);
+ assert(next_uop->opcode == _START_EXECUTOR);
tier2_dispatch:
for (;;) {
uopcode = next_uop->opcode;
#ifdef Py_DEBUG
if (lltrace >= 3) {
- if (next_uop->opcode == _START_EXECUTOR || next_uop->opcode == _COLD_EXIT) {
+ if (next_uop->opcode == _START_EXECUTOR) {
printf("%4d uop: ", 0);
}
else {
@@ -1148,25 +1148,6 @@ goto_to_tier1:
tstate->previous_executor = NULL;
DISPATCH();
-exit_to_trace:
- assert(next_uop[-1].format == UOP_FORMAT_EXIT);
- OPT_HIST(trace_uop_execution_counter, trace_run_length_hist);
- uint32_t exit_index = next_uop[-1].exit_index;
- assert(exit_index < current_executor->exit_count);
- _PyExitData *exit = &current_executor->exits[exit_index];
-#ifdef Py_DEBUG
- if (lltrace >= 2) {
- printf("SIDE EXIT: [UOp ");
- _PyUOpPrint(&next_uop[-1]);
- printf(", exit %u, temp %d, target %d -> %s]\n",
- exit_index, exit->temperature.as_counter, exit->target,
- _PyOpcode_OpName[_PyCode_CODE(_PyFrame_GetCode(frame))[exit->target].op.code]);
- }
-#endif
- Py_INCREF(exit->executor);
- tstate->previous_executor = (PyObject *)current_executor;
- GOTO_TIER_TWO(exit->executor);
-
#endif // _Py_JIT
#endif // _Py_TIER2