summaryrefslogtreecommitdiffstats
path: root/Python/optimizer.c
diff options
context:
space:
mode:
authorBrandt Bucher <brandtbucher@microsoft.com>2024-05-01 15:05:53 (GMT)
committerGitHub <noreply@github.com>2024-05-01 15:05:53 (GMT)
commit49baa656cb994122869bc807a88ea2f3f0d7751b (patch)
tree6e8dca68a9b31ded4bcb2d3133e8edbb5022f526 /Python/optimizer.c
parentbeb653cc24275025708758d444835db2ddbb74e4 (diff)
downloadcpython-49baa656cb994122869bc807a88ea2f3f0d7751b.zip
cpython-49baa656cb994122869bc807a88ea2f3f0d7751b.tar.gz
cpython-49baa656cb994122869bc807a88ea2f3f0d7751b.tar.bz2
GH-115802: Use the GHC calling convention in JIT code (GH-118287)
Diffstat (limited to 'Python/optimizer.c')
-rw-r--r--Python/optimizer.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/Python/optimizer.c b/Python/optimizer.c
index 9ba8d84..2389338 100644
--- a/Python/optimizer.c
+++ b/Python/optimizer.c
@@ -1188,6 +1188,7 @@ make_executor_from_uops(_PyUOpInstruction *buffer, int length, const _PyBloomFil
#endif
#ifdef _Py_JIT
executor->jit_code = NULL;
+ executor->jit_side_entry = NULL;
executor->jit_size = 0;
if (_PyJIT_Compile(executor, executor->trace, length)) {
Py_DECREF(executor);
@@ -1219,6 +1220,7 @@ init_cold_exit_executor(_PyExecutorObject *executor, int oparg)
#endif
#ifdef _Py_JIT
executor->jit_code = NULL;
+ executor->jit_side_entry = NULL;
executor->jit_size = 0;
if (_PyJIT_Compile(executor, executor->trace, 1)) {
return -1;