bpo-46476: Simplify and fix _PyStaticCode_Dealloc (GH-30965)

This commit is contained in:
Christian Heimes 2022-01-27 21:32:12 +02:00 committed by GitHub
parent 247480a21c
commit 26b0482393
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 10 additions and 7 deletions

View file

@ -277,7 +277,7 @@ void _Py_Specialize_BinaryOp(PyObject *lhs, PyObject *rhs, _Py_CODEUNIT *instr,
void _Py_Specialize_CompareOp(PyObject *lhs, PyObject *rhs, _Py_CODEUNIT *instr, SpecializedCacheEntry *cache);
/* Deallocator function for static codeobjects used in deepfreeze.py */
void _PyStaticCode_Dealloc(PyCodeObject *co, _Py_CODEUNIT *firstinstr);
void _PyStaticCode_Dealloc(PyCodeObject *co);
#ifdef Py_STATS