https://github.com/python/cpython/commit/57f4d09a6fcfec229603f644c4254abdded00429
commit: 57f4d09a6fcfec229603f644c4254abdded00429
branch: main
author: Savannah Ostrowski <[email protected]>
committer: savannahostrowski <[email protected]>
date: 2025-11-03T19:46:53Z
summary:
JIT: Fix compiler warning from visibility attribute in typedef (#139981)
files:
M Tools/jit/trampoline.c
diff --git a/Tools/jit/trampoline.c b/Tools/jit/trampoline.c
index 79d6af97961fc9..fdc63b7fc40a89 100644
--- a/Tools/jit/trampoline.c
+++ b/Tools/jit/trampoline.c
@@ -10,7 +10,7 @@ _Py_CODEUNIT *
_JIT_ENTRY(
_PyExecutorObject *exec, _PyInterpreterFrame *frame, _PyStackRef
*stack_pointer, PyThreadState *tstate
) {
- typedef DECLARE_TARGET((*jit_func));
- jit_func jitted = (jit_func)exec->jit_code;
+ // Note that this is *not* a tail call
+ jit_func_preserve_none jitted = (jit_func_preserve_none)exec->jit_code;
return jitted(frame, stack_pointer, tstate);
}
_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3//lists/python-checkins.python.org
Member address: [email protected]