Lines Matching refs:recursion_depth
492 if (++state->recursion_depth > state->recursion_limit) { in astfold_expr()
595 state->recursion_depth--; in astfold_expr()
608 state->recursion_depth--; in astfold_expr()
655 if (++state->recursion_depth > state->recursion_limit) { in astfold_stmt()
769 state->recursion_depth--; in astfold_stmt()
801 if (++state->recursion_depth > state->recursion_limit) { in astfold_pattern()
837 state->recursion_depth--; in astfold_pattern()
871 starting_recursion_depth = (tstate->recursion_depth < INT_MAX / COMPILER_STACK_FRAME_SCALE) ? in _PyAST_Optimize()
872 tstate->recursion_depth * COMPILER_STACK_FRAME_SCALE : tstate->recursion_depth; in _PyAST_Optimize()
873 state->recursion_depth = starting_recursion_depth; in _PyAST_Optimize()
881 if (ret && state->recursion_depth != starting_recursion_depth) { in _PyAST_Optimize()
884 starting_recursion_depth, state->recursion_depth); in _PyAST_Optimize()