We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b6e467e commit 3a3fa9dCopy full SHA for 3a3fa9d
Include/internal/pycore_optimizer.h
@@ -258,7 +258,11 @@ PyJitRef_Borrow(JitOptRef ref)
258
return (JitOptRef){ .bits = ref.bits | Py_TAG_REFCNT };
259
}
260
261
-static const JitOptRef PyJitRef_NULL = (JitOptRef){.bits = PyStackRef_NULL.bits};
+#ifndef Py_GIL_DISABLED
262
+static const JitOptRef PyJitRef_NULL = (JitOptRef){.bits = PyStackRef_NULL_BITS};
263
+#else
264
+static const JitOptRef PyJitRef_NULL = (JitOptRef){.bits = Py_TAG_DEFERRED};
265
+#endif
266
267
static inline bool
268
PyJitRef_IsNull(JitOptRef ref)
0 commit comments