Skip to content

Commit 00ec781

Browse files
authored
gh-129244: Only remove the workaround when MSVC has the bugfix (#130011)
1 parent 53e8e72 commit 00ec781

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Python/ceval.c

+1
Original file line numberDiff line numberDiff line change
@@ -767,6 +767,7 @@ _PyObjectArray_Free(PyObject **array, PyObject **scratch)
767767
/* _PyEval_EvalFrameDefault is too large to optimize for speed with PGO on MSVC.
768768
*/
769769
#if (defined(_MSC_VER) && \
770+
(_MSC_VER < 1943) && \
770771
defined(_Py_USING_PGO))
771772
#define DO_NOT_OPTIMIZE_INTERP_LOOP
772773
#endif

0 commit comments

Comments
 (0)