[Python-checkins] r51429 - python/trunk/Include/code.h

jeremy.hylton python-checkins at python.org
Mon Aug 21 18:20:30 CEST 2006


Author: jeremy.hylton
Date: Mon Aug 21 18:20:29 2006
New Revision: 51429

Modified:
   python/trunk/Include/code.h
Log:
Move peephole optimizer to separate file.  (Forgot .h in previous checkin.)


Modified: python/trunk/Include/code.h
==============================================================================
--- python/trunk/Include/code.h	(original)
+++ python/trunk/Include/code.h	Mon Aug 21 18:20:29 2006
@@ -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


More information about the Python-checkins mailing list