mirror of
https://github.com/python/cpython.git
synced 2026-01-26 21:03:34 +00:00
gh-142913: Export JIT functions for _testinternalcapi (#143958)
* Export JIT functions for _testinternalcapi * Add testinternalcapi to paths to run JIT CI on
This commit is contained in:
parent
7d151e552c
commit
7e28ae550f
2
.github/workflows/jit.yml
vendored
2
.github/workflows/jit.yml
vendored
@ -7,6 +7,7 @@ on:
|
||||
- 'Python/optimizer*.c'
|
||||
- 'Python/executor_cases.c.h'
|
||||
- 'Python/optimizer_cases.c.h'
|
||||
- '**_testinternalcapi**'
|
||||
- '!Python/perf_jit_trampoline.c'
|
||||
- '!**/*.md'
|
||||
- '!**/*.ini'
|
||||
@ -17,6 +18,7 @@ on:
|
||||
- 'Python/optimizer*.c'
|
||||
- 'Python/executor_cases.c.h'
|
||||
- 'Python/optimizer_cases.c.h'
|
||||
- '**_testinternalcapi**'
|
||||
- '!Python/perf_jit_trampoline.c'
|
||||
- '!**/*.md'
|
||||
- '!**/*.ini'
|
||||
|
||||
@ -225,7 +225,7 @@ PyAPI_FUNC(int) _PyDumpExecutors(FILE *out);
|
||||
PyAPI_FUNC(void) _Py_ClearExecutorDeletionList(PyInterpreterState *interp);
|
||||
#endif
|
||||
|
||||
int _PyJit_translate_single_bytecode_to_trace(PyThreadState *tstate, _PyInterpreterFrame *frame, _Py_CODEUNIT *next_instr, int stop_tracing_opcode);
|
||||
PyAPI_FUNC(int) _PyJit_translate_single_bytecode_to_trace(PyThreadState *tstate, _PyInterpreterFrame *frame, _Py_CODEUNIT *next_instr, int stop_tracing_opcode);
|
||||
|
||||
PyAPI_FUNC(int)
|
||||
_PyJit_TryInitializeTracing(PyThreadState *tstate, _PyInterpreterFrame *frame,
|
||||
@ -233,7 +233,7 @@ _PyJit_TryInitializeTracing(PyThreadState *tstate, _PyInterpreterFrame *frame,
|
||||
_Py_CODEUNIT *close_loop_instr, int curr_stackdepth, int chain_depth, _PyExitData *exit,
|
||||
int oparg, _PyExecutorObject *current_executor);
|
||||
|
||||
void _PyJit_FinalizeTracing(PyThreadState *tstate, int err);
|
||||
PyAPI_FUNC(void) _PyJit_FinalizeTracing(PyThreadState *tstate, int err);
|
||||
void _PyJit_TracerFree(_PyThreadStateImpl *_tstate);
|
||||
|
||||
void _PyJit_Tracer_InvalidateDependency(PyThreadState *old_tstate, void *obj);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user