File indexing completed on 2025-11-19 09:50:48
0001 #ifndef Py_INTERNAL_JIT_H
0002 #define Py_INTERNAL_JIT_H
0003
0004 #ifdef __cplusplus
0005 extern "C" {
0006 #endif
0007
0008 #ifndef Py_BUILD_CORE
0009 # error "this header requires Py_BUILD_CORE define"
0010 #endif
0011
0012 #ifdef _Py_JIT
0013
0014 typedef _Py_CODEUNIT *(*jit_func)(_PyInterpreterFrame *frame, PyObject **stack_pointer, PyThreadState *tstate);
0015
0016 int _PyJIT_Compile(_PyExecutorObject *executor, const _PyUOpInstruction *trace, size_t length);
0017 void _PyJIT_Free(_PyExecutorObject *executor);
0018
0019 #endif
0020
0021 #ifdef __cplusplus
0022 }
0023 #endif
0024
0025 #endif