Skip to content

Commit 24cd7f9

Browse files
more cleanup to fix CI
1 parent 87c0b72 commit 24cd7f9

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
// 1 for trace full, 0 for successful write.
988989
static int
989990
add_to_code_trace(PyThreadState *tstate, _PyInterpreterFrame *frame, PyCodeObject *old_code, PyFunctionObject *old_func, _Py_CODEUNIT *this_instr, _Py_CODEUNIT *next_instr, int opcode, int oparg, int jump_taken)
@@ -992,6 +993,7 @@ add_to_code_trace(PyThreadState *tstate, _PyInterpreterFrame *frame, PyCodeObjec
992993
assert(tstate->interp->jit_state.jit_tracer_code_curr_size < UOP_MAX_TRACE_LENGTH);
993994
return !_PyJIT_translate_single_bytecode_to_trace(tstate, frame, this_instr, next_instr, old_code, old_func, opcode, oparg, jump_taken);
994995
}
996+
#endif
995997

996998
/* _PyEval_EvalFrameDefault is too large to optimize for speed with PGO on MSVC.
997999
*/

0 commit comments

Comments
 (0)