summaryrefslogtreecommitdiffstats
path: root/Include
diff options
context:
space:
mode:
authorKen Jin <kenjin@python.org>2024-06-20 15:55:20 (GMT)
committerGitHub <noreply@github.com>2024-06-20 15:55:20 (GMT)
commit7c7aa5a99cce256ff726654038092a333a1f0531 (patch)
tree5965d6c59fcec54f7f9511c7bb71ff22ac81488e /Include
parentb8fd80f91b980598cb378dba224cdb595b132fb4 (diff)
downloadcpython-7c7aa5a99cce256ff726654038092a333a1f0531.zip
cpython-7c7aa5a99cce256ff726654038092a333a1f0531.tar.gz
cpython-7c7aa5a99cce256ff726654038092a333a1f0531.tar.bz2
[3.13] gh-119258: Backport optimizer frame fixes in GH-119365 (GH-120699)
(cherry picked from commit 55402d3)
Diffstat (limited to 'Include')
-rw-r--r--Include/internal/pycore_optimizer.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/Include/internal/pycore_optimizer.h b/Include/internal/pycore_optimizer.h
index c0a76e8..c422e2f 100644
--- a/Include/internal/pycore_optimizer.h
+++ b/Include/internal/pycore_optimizer.h
@@ -107,9 +107,9 @@ extern void _Py_uop_abstractcontext_fini(_Py_UOpsContext *ctx);
extern _Py_UOpsAbstractFrame *_Py_uop_frame_new(
_Py_UOpsContext *ctx,
PyCodeObject *co,
- _Py_UopsSymbol **localsplus_start,
- int n_locals_already_filled,
- int curr_stackentries);
+ int curr_stackentries,
+ _Py_UopsSymbol **args,
+ int arg_len);
extern int _Py_uop_frame_pop(_Py_UOpsContext *ctx);
PyAPI_FUNC(PyObject *) _Py_uop_symbols_test(PyObject *self, PyObject *ignored);