Skip to content
Open
Show file tree
Hide file tree
Changes from 5 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion Include/internal/pycore_optimizer.h
Original file line number Diff line number Diff line change
Expand Up @@ -208,6 +208,9 @@ struct _Py_UOpsAbstractFrame {
_Py_UopsSymbol **stack_pointer;
_Py_UopsSymbol **stack;
_Py_UopsSymbol **locals;

// Might be NULL if unable to statically determine.
_Py_UopsSymbol *f_funcobj;
};

typedef struct _Py_UOpsAbstractFrame _Py_UOpsAbstractFrame;
Expand Down Expand Up @@ -268,7 +271,8 @@ extern _Py_UOpsAbstractFrame *_Py_uop_frame_new(
PyCodeObject *co,
int curr_stackentries,
_Py_UopsSymbol **args,
int arg_len);
int arg_len,
_Py_UopsSymbol *f_funcobj);
extern int _Py_uop_frame_pop(_Py_UOpsContext *ctx);

PyAPI_FUNC(PyObject *) _Py_uop_symbols_test(PyObject *self, PyObject *ignored);
Expand Down
Loading
Loading