We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3b548ad commit 5cdd6e5Copy full SHA for 5cdd6e5
Python/ceval.c
@@ -764,15 +764,10 @@ _PyObjectArray_Free(PyObject **array, PyObject **scratch)
764
#define PY_EVAL_C_STACK_UNITS 2
765
766
767
-/* _PyEval_EvalFrameDefault is too large to optimize for speed with PGO on MSVC
768
- when the JIT is enabled or GIL is disabled. Disable that optimization around
769
- this function only. If this is fixed upstream, we should gate this on the
770
- version of MSVC.
+/* _PyEval_EvalFrameDefault is too large to optimize for speed with PGO on MSVC.
771
*/
772
#if (defined(_MSC_VER) && \
773
- defined(_Py_USING_PGO) && \
774
- (defined(_Py_JIT) || \
775
- defined(Py_GIL_DISABLED)))
+ defined(_Py_USING_PGO))
776
#define DO_NOT_OPTIMIZE_INTERP_LOOP
777
#endif
778
0 commit comments