Mercurial > cpython-lru_cache-weakref
diff Include/code.h @ 39601:eeda2704130e legacy-trunk
Move peephole optimizer to separate file. (Forgot .h in previous checkin.)
| author | Jeremy Hylton <jeremy@alum.mit.edu> |
|---|---|
| date | Mon, 21 Aug 2006 16:20:29 +0000 |
| parents | a637c78bf119 |
| children | b8fbd322760a |
line wrap: on
line diff
--- a/Include/code.h Mon Aug 21 16:19:37 2006 +0000 +++ b/Include/code.h Mon Aug 21 16:20:29 2006 +0000 @@ -88,6 +88,9 @@ PyAPI_FUNC(int) PyCode_CheckLineNumber(PyCodeObject* co, int lasti, PyAddrPair *bounds); +PyAPI_FUNC(PyObject*) PyCode_Optimize(PyObject *code, PyObject* consts, + PyObject *names, PyObject *lineno_obj); + #ifdef __cplusplus } #endif
