mirror of
https://github.com/python/cpython.git
synced 2025-09-18 14:40:43 +00:00
Move peephole optimizer to separate file. (Forgot .h in previous checkin.)
This commit is contained in:
parent
644dddcc3f
commit
271d59343b
1 changed files with 3 additions and 0 deletions
|
@ -88,6 +88,9 @@ typedef struct _addr_pair {
|
||||||
PyAPI_FUNC(int) PyCode_CheckLineNumber(PyCodeObject* co,
|
PyAPI_FUNC(int) PyCode_CheckLineNumber(PyCodeObject* co,
|
||||||
int lasti, PyAddrPair *bounds);
|
int lasti, PyAddrPair *bounds);
|
||||||
|
|
||||||
|
PyAPI_FUNC(PyObject*) PyCode_Optimize(PyObject *code, PyObject* consts,
|
||||||
|
PyObject *names, PyObject *lineno_obj);
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue