diff --git a/Objects/funcobject.c b/Objects/funcobject.c index ee0c46a95b9708..8099b82f4835fb 100644 --- a/Objects/funcobject.c +++ b/Objects/funcobject.c @@ -1126,10 +1126,6 @@ func_dealloc(PyObject *self) if (_PyObject_ResurrectEnd(self)) { return; } -#if _Py_TIER2 - _Py_Executors_InvalidateDependency(_PyInterpreterState_GET(), self, 1); - _PyJit_Tracer_InvalidateDependency(_PyThreadState_GET(), self); -#endif _PyObject_GC_UNTRACK(op); FT_CLEAR_WEAKREFS(self, op->func_weakreflist); (void)func_clear((PyObject*)op);