Skip to content

Commit a39a3fe

Browse files
authored
Update Python/sysmodule.c
1 parent aeac29c commit a39a3fe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Python/sysmodule.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2287,7 +2287,7 @@ sys_activate_stack_trampoline_impl(PyObject *module, const char *backend)
22872287
/*[clinic end generated code: output=5783cdeb51874b43 input=a12df928758a82b4]*/
22882288
{
22892289
#ifdef PY_HAVE_PERF_TRAMPOLINE
2290-
#ifdef _Py_TIER2
2290+
#ifdef _Py_JIT
22912291
_PyOptimizerObject* optimizer = _Py_GetOptimizer();
22922292
if (optimizer != NULL) {
22932293
PyErr_SetString(PyExc_ValueError, "Cannot activate the perf trampoline if the JIT is active");

0 commit comments

Comments
 (0)