Skip to content

Commit 587a433

Browse files
remove dual definition
1 parent c6967c6 commit 587a433

File tree

4 files changed

+523
-545
lines changed

4 files changed

+523
-545
lines changed

Python/bytecodes.c

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -5194,28 +5194,6 @@ dummy_func(
51945194
assert(tstate->tracing || eval_breaker == FT_ATOMIC_LOAD_UINTPTR_ACQUIRE(_PyFrame_GetCode(frame)->_co_instrumentation_version));
51955195
}
51965196

5197-
label(start_frame) {
5198-
if (_Py_EnterRecursivePy(tstate)) {
5199-
goto exit_unwind;
5200-
}
5201-
5202-
next_instr = frame->instr_ptr;
5203-
stack_pointer = _PyFrame_GetStackPointer(frame);
5204-
5205-
#ifdef Py_DEBUG
5206-
int lltrace = maybe_lltrace_resume_frame(frame, GLOBALS());
5207-
frame->lltrace = lltrace;
5208-
if (lltrace < 0) {
5209-
goto exit_unwind;
5210-
}
5211-
/* _PyEval_EvalFrameDefault() must not be called with an exception set,
5212-
because it can clear it (directly or indirectly) and so the
5213-
caller loses its exception */
5214-
assert(!_PyErr_Occurred(tstate));
5215-
#endif
5216-
DISPATCH();
5217-
}
5218-
52195197
label(pop_4_error) {
52205198
STACK_SHRINK(1);
52215199
goto pop_3_error;

Python/generated_cases.c.h

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

0 commit comments

Comments
 (0)