diff options
author | Ken Jin <kenjin@python.org> | 2023-08-15 18:04:17 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-15 18:04:17 (GMT) |
commit | e28b0dc86dd1d058788b9e1eaa825cdfc2d97067 (patch) | |
tree | 0a1cb8afa1d723ce2dab38c011f75a58014a41ef /Include/cpython | |
parent | 34e1917912f05e3ab5c9b1e39f678bd36388499e (diff) | |
download | cpython-e28b0dc86dd1d058788b9e1eaa825cdfc2d97067.zip cpython-e28b0dc86dd1d058788b9e1eaa825cdfc2d97067.tar.gz cpython-e28b0dc86dd1d058788b9e1eaa825cdfc2d97067.tar.bz2 |
gh-107557: Setup abstract interpretation (#107847)
Co-authored-by: Guido van Rossum <gvanrossum@users.noreply.github.com>
Co-authored-by: Jules <57632293+juliapoo@users.noreply.github.com>
Diffstat (limited to 'Include/cpython')
-rw-r--r-- | Include/cpython/optimizer.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Include/cpython/optimizer.h b/Include/cpython/optimizer.h index da34ec1..e3fe0e8 100644 --- a/Include/cpython/optimizer.h +++ b/Include/cpython/optimizer.h @@ -22,7 +22,7 @@ typedef struct _PyExecutorObject { typedef struct _PyOptimizerObject _PyOptimizerObject; /* Should return > 0 if a new executor is created. O if no executor is produced and < 0 if an error occurred. */ -typedef int (*optimize_func)(_PyOptimizerObject* self, PyCodeObject *code, _Py_CODEUNIT *instr, _PyExecutorObject **); +typedef int (*optimize_func)(_PyOptimizerObject* self, PyCodeObject *code, _Py_CODEUNIT *instr, _PyExecutorObject **, int curr_stackentries); typedef struct _PyOptimizerObject { PyObject_HEAD |