diff options
author | Jeremy Hylton <jeremy@alum.mit.edu> | 2006-08-21 16:20:29 (GMT) |
---|---|---|
committer | Jeremy Hylton <jeremy@alum.mit.edu> | 2006-08-21 16:20:29 (GMT) |
commit | 271d59343b1de64d5e070eb170fabc0419d75bf8 (patch) | |
tree | dc26ec58d9e8c30d026b8989ddd3111653a754ae /Include/code.h | |
parent | 644dddcc3f0ae886fe92f23cdce3e24c5e032566 (diff) | |
download | cpython-271d59343b1de64d5e070eb170fabc0419d75bf8.zip cpython-271d59343b1de64d5e070eb170fabc0419d75bf8.tar.gz cpython-271d59343b1de64d5e070eb170fabc0419d75bf8.tar.bz2 |
Move peephole optimizer to separate file. (Forgot .h in previous checkin.)
Diffstat (limited to 'Include/code.h')
-rw-r--r-- | Include/code.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Include/code.h b/Include/code.h index 334ebab..6c0e706 100644 --- a/Include/code.h +++ b/Include/code.h @@ -88,6 +88,9 @@ typedef struct _addr_pair { 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 |