Skip to content

Commit 45db503

Browse files
committed
gh-159186: Skip branch-history recording in builds without Tier 2
1 parent 8bf6305 commit 45db503

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎Python/ceval_macros.h‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -384,7 +384,7 @@ static void dtrace_function_return(_PyInterpreterFrame *);
384384
} while (0);
385385
#endif
386386

387-
#ifdef ENABLE_SPECIALIZATION
387+
#if defined(ENABLE_SPECIALIZATION) && defined(_Py_TIER2)
388388
/* Multiple threads may execute these concurrently if thread-local bytecode is
389389
* disabled and they all execute the main copy of the bytecode. Specialization
390390
* is disabled in that case so the value is unused, but the RMW cycle should be

0 commit comments

Comments
 (0)