Skip to content

Commit f3208af

Browse files
committed
fix jit test cases
1 parent 949b5ec commit f3208af

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Include/internal/pycore_optimizer.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -225,15 +225,15 @@ PyAPI_FUNC(int) _PyDumpExecutors(FILE *out);
225225
PyAPI_FUNC(void) _Py_ClearExecutorDeletionList(PyInterpreterState *interp);
226226
#endif
227227

228-
int _PyJit_translate_single_bytecode_to_trace(PyThreadState *tstate, _PyInterpreterFrame *frame, _Py_CODEUNIT *next_instr, int stop_tracing_opcode);
228+
PyAPI_FUNC(int) _PyJit_translate_single_bytecode_to_trace(PyThreadState *tstate, _PyInterpreterFrame *frame, _Py_CODEUNIT *next_instr, int stop_tracing_opcode);
229229

230230
PyAPI_FUNC(int)
231231
_PyJit_TryInitializeTracing(PyThreadState *tstate, _PyInterpreterFrame *frame,
232232
_Py_CODEUNIT *curr_instr, _Py_CODEUNIT *start_instr,
233233
_Py_CODEUNIT *close_loop_instr, int curr_stackdepth, int chain_depth, _PyExitData *exit,
234234
int oparg, _PyExecutorObject *current_executor);
235235

236-
void _PyJit_FinalizeTracing(PyThreadState *tstate, int err);
236+
PyAPI_FUNC(void) _PyJit_FinalizeTracing(PyThreadState *tstate, int err);
237237
void _PyJit_TracerFree(_PyThreadStateImpl *_tstate);
238238

239239
void _PyJit_Tracer_InvalidateDependency(PyThreadState *old_tstate, void *obj);

0 commit comments

Comments
 (0)