Skip to content

Commit e7bf8ea

Browse files
gh-131798: split recursion check to _CHECK_RECURSION_LIMIT and combine checks (GH-148070)
1 parent 113038f commit e7bf8ea

File tree

12 files changed

+1393
-1271
lines changed

12 files changed

+1393
-1271
lines changed

Include/internal/pycore_opcode_metadata.h

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Include/internal/pycore_optimizer_types.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,7 @@ typedef struct _Py_UOpsAbstractFrame {
147147
int stack_len;
148148
int locals_len;
149149
bool caller; // We have made a call from this frame during the trace
150+
bool is_c_recursion_checked;
150151
JitOptRef callable;
151152
PyFunctionObject *func;
152153
PyCodeObject *code;

0 commit comments

Comments
 (0)