JIT: Fix compiler warning from visibility attribute in typedef (#139981)

This commit is contained in:
Savannah Ostrowski 2025-11-03 11:46:53 -08:00 committed by GitHub
parent c98c5b3449
commit 57f4d09a6f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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);
}