Skip to content

Commit

Permalink
ignore out entire interp loop
Browse files Browse the repository at this point in the history
  • Loading branch information
Fidget-Spinner committed Jan 6, 2025
1 parent 465467f commit 52b7ece
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Python/ceval.c
Original file line number Diff line number Diff line change
Expand Up @@ -923,15 +923,15 @@ _PyEval_EvalFrameDefault(PyThreadState *tstate, _PyInterpreterFrame *frame, int
#endif

{
#ifndef Py_TAIL_CALL_INTERP
/* Start instructions */
#if !USE_COMPUTED_GOTOS && !defined(Py_TAIL_CALL_INTERP)
#if !USE_COMPUTED_GOTOS
dispatch_opcode:
switch (opcode)
#endif
{
#ifndef Py_TAIL_CALL_INTERP
#include "generated_cases.c.h"
#endif


#if USE_COMPUTED_GOTOS
_unknown_opcode:
Expand All @@ -953,7 +953,7 @@ _PyEval_EvalFrameDefault(PyThreadState *tstate, _PyInterpreterFrame *frame, int
/* This should never be reached. Every opcode should end with DISPATCH()
or goto error. */
Py_UNREACHABLE();

#endif
pop_4_error:
STACK_SHRINK(1);
pop_3_error:
Expand Down

0 comments on commit 52b7ece

Please sign in to comment.