Skip to content

Commit 264559a

Browse files
committed
Add empty _PyExecutor_Free for non-jit builds
1 parent af696ea commit 264559a

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

Python/optimizer.c

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1778,4 +1778,11 @@ _PyDumpExecutors(FILE *out)
17781778
return -1;
17791779
}
17801780

1781+
void
1782+
_PyExecutor_Free(struct _PyExecutorObject *self)
1783+
{
1784+
/* This should never be called */
1785+
Py_UNREACHABLE();
1786+
}
1787+
17811788
#endif /* _Py_TIER2 */

0 commit comments

Comments
 (0)