summaryrefslogtreecommitdiffstats
path: root/Python/jit.c
diff options
context:
space:
mode:
authorBrandt Bucher <brandtbucher@microsoft.com>2024-07-01 20:17:40 (GMT)
committerGitHub <noreply@github.com>2024-07-01 20:17:40 (GMT)
commit33903c53dbdb768e1ef7c46d347869577f2173ce (patch)
tree9e1e8473028f803ece96c8ccbde3f6bfef08ade3 /Python/jit.c
parent294e72496439da984cb8dba9100d3613c8cc8a6d (diff)
downloadcpython-33903c53dbdb768e1ef7c46d347869577f2173ce.zip
cpython-33903c53dbdb768e1ef7c46d347869577f2173ce.tar.gz
cpython-33903c53dbdb768e1ef7c46d347869577f2173ce.tar.bz2
GH-116017: Get rid of _COLD_EXITs (GH-120960)
Diffstat (limited to 'Python/jit.c')
-rw-r--r--Python/jit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/jit.c b/Python/jit.c
index d0c0d24..3332076 100644
--- a/Python/jit.c
+++ b/Python/jit.c
@@ -439,7 +439,7 @@ _PyJIT_Compile(_PyExecutorObject *executor, const _PyUOpInstruction trace[], siz
group->emit(code, data, executor, NULL, instruction_starts);
code += group->code_size;
data += group->data_size;
- assert(trace[0].opcode == _START_EXECUTOR || trace[0].opcode == _COLD_EXIT);
+ assert(trace[0].opcode == _START_EXECUTOR);
for (size_t i = 0; i < length; i++) {
const _PyUOpInstruction *instruction = &trace[i];
group = &stencil_groups[instruction->opcode];