Skip to content

Commit abb1757

Browse files
fix build on non-JIT
1 parent 7b2a8ca commit abb1757

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Python/ceval.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -984,6 +984,7 @@ _PyObjectArray_Free(PyObject **array, PyObject **scratch)
984984
}
985985
}
986986

987+
#if _Py_TIER2
987988
// 0 for success, -1 for error.
988989
static int
989990
bail_tracing_and_jit(PyThreadState *tstate, _PyInterpreterFrame *frame)
@@ -996,6 +997,7 @@ bail_tracing_and_jit(PyThreadState *tstate, _PyInterpreterFrame *frame)
996997
_PyJit_FinalizeTracing(tstate);
997998
return err;
998999
}
1000+
#endif
9991001

10001002
/* _PyEval_EvalFrameDefault is too large to optimize for speed with PGO on MSVC.
10011003
*/

0 commit comments

Comments
 (0)