Skip to content

Commit cd868b9

Browse files
committed
nit
1 parent fe3c1af commit cd868b9

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

Include/internal/pycore_tstate.h

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,10 @@ typedef struct _PyThreadStateImpl {
104104
#if defined(Py_REF_DEBUG) && defined(Py_GIL_DISABLED)
105105
Py_ssize_t reftotal; // this thread's total refcount operations
106106
#endif
107-
struct _PyUOpInstruction buffer[1200];
107+
108+
#ifdef _Py_TIER2
109+
struct _PyUOpInstruction buffer[UOP_MAX_TRACE_LENGTH];
110+
#endif
108111

109112
} _PyThreadStateImpl;
110113

0 commit comments

Comments
 (0)