Skip to content

Commit

Permalink
remove dual definition
Browse files Browse the repository at this point in the history
  • Loading branch information
Fidget-Spinner committed Jan 31, 2025
1 parent c6967c6 commit 587a433
Show file tree
Hide file tree
Showing 4 changed files with 523 additions and 545 deletions.
22 changes: 0 additions & 22 deletions Python/bytecodes.c
Original file line number Diff line number Diff line change
Expand Up @@ -5194,28 +5194,6 @@ dummy_func(
assert(tstate->tracing || eval_breaker == FT_ATOMIC_LOAD_UINTPTR_ACQUIRE(_PyFrame_GetCode(frame)->_co_instrumentation_version));
}

label(start_frame) {
if (_Py_EnterRecursivePy(tstate)) {
goto exit_unwind;
}

next_instr = frame->instr_ptr;
stack_pointer = _PyFrame_GetStackPointer(frame);

#ifdef Py_DEBUG
int lltrace = maybe_lltrace_resume_frame(frame, GLOBALS());
frame->lltrace = lltrace;
if (lltrace < 0) {
goto exit_unwind;
}
/* _PyEval_EvalFrameDefault() must not be called with an exception set,
because it can clear it (directly or indirectly) and so the
caller loses its exception */
assert(!_PyErr_Occurred(tstate));
#endif
DISPATCH();
}

label(pop_4_error) {
STACK_SHRINK(1);
goto pop_3_error;
Expand Down
54 changes: 27 additions & 27 deletions Python/generated_cases.c.h

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 587a433

Please sign in to comment.