Skip to content

Commit

Permalink
Formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
mpage committed Mar 1, 2025
1 parent 39ff3f0 commit f012a9f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
3 changes: 2 additions & 1 deletion Include/internal/pycore_frame.h
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,8 @@ _PyFrame_CopyToHeap(_PyInterpreterFrame *src, _PyInterpreterFrame *dest)
// "support" for borrowed references in the source frame. Convert any
// borrowed references that were copied into dest into strong references.
for (int i = 0; i < stacktop; i++) {
dest->localsplus[i] = _PyStackRef_NewIfBorrowedOrSteal(src->localsplus[i]);
dest->localsplus[i] =
_PyStackRef_NewIfBorrowedOrSteal(src->localsplus[i]);
}
dest->f_executable = _PyStackRef_NewIfBorrowedOrSteal(dest->f_executable);
dest->f_funcobj = _PyStackRef_NewIfBorrowedOrSteal(dest->f_funcobj);
Expand Down
6 changes: 4 additions & 2 deletions Python/flowgraph.c
Original file line number Diff line number Diff line change
Expand Up @@ -2525,7 +2525,8 @@ store_local(uint8_t *instr_flags, ref_stack *refs, int local, ref r)
}

static void
load_fast_push_block(basicblock ***sp, basicblock *target, Py_ssize_t start_depth)
load_fast_push_block(basicblock ***sp, basicblock *target,
Py_ssize_t start_depth)
{
assert(target->b_startdepth >= 0 && target->b_startdepth == start_depth);
if (!target->b_visited) {
Expand Down Expand Up @@ -3816,7 +3817,8 @@ _PyCompile_OptimizeLoadFast(PyObject *seq)
return NULL;
}

cfg_builder *g = _PyCfg_FromInstructionSequence((_PyInstructionSequence*)seq);
cfg_builder *g =
_PyCfg_FromInstructionSequence((_PyInstructionSequence *)seq);
if (g == NULL) {
return NULL;
}
Expand Down

0 comments on commit f012a9f

Please sign in to comment.