Skip to content

Commit 50c4184

Browse files
rename to is_c_recursion_checked
1 parent 7c1d63f commit 50c4184

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

Include/internal/pycore_optimizer_types.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +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_recursion_checked;
150+
bool is_c_recursion_checked;
151151
JitOptRef callable;
152152
PyFunctionObject *func;
153153
PyCodeObject *code;

Python/optimizer_bytecodes.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1395,10 +1395,10 @@ dummy_func(void) {
13951395
}
13961396

13971397
op(_CHECK_RECURSION_LIMIT, ( -- )) {
1398-
if (ctx->frame->is_recursion_checked) {
1398+
if (ctx->frame->is_c_recursion_checked) {
13991399
ADD_OP(_NOP, 0, 0);
14001400
}
1401-
ctx->frame->is_recursion_checked = true;
1401+
ctx->frame->is_c_recursion_checked = true;
14021402
}
14031403

14041404
op(_CALL_METHOD_DESCRIPTOR_NOARGS, (callable, self_or_null, args[oparg] -- res)) {

Python/optimizer_cases.c.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.

Python/optimizer_symbols.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1514,7 +1514,7 @@ _Py_uop_frame_new(
15141514
frame->globals_watched = false;
15151515
frame->func = NULL;
15161516
frame->caller = false;
1517-
frame->is_recursion_checked = false;
1517+
frame->is_c_recursion_checked = false;
15181518
if (ctx->locals.used > ctx->locals.end || ctx->stack.used > ctx->stack.end) {
15191519
ctx->done = true;
15201520
ctx->out_of_space = true;

0 commit comments

Comments
 (0)