File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -603,7 +603,7 @@ _PyFrame_GetState(PyFrameObject *frame)
603
603
if (_PyInterpreterFrame_LASTI (frame -> f_frame ) < 0 ) {
604
604
return FRAME_CREATED ;
605
605
}
606
- switch (_PyOpcode_Deopt [ _Py_OPCODE (* frame -> f_frame -> prev_instr )] )
606
+ switch (_Py_OPCODE (* frame -> f_frame -> prev_instr ))
607
607
{
608
608
case COPY_FREE_VARS :
609
609
case MAKE_CELL :
Original file line number Diff line number Diff line change 8
8
#include "pycore_frame.h" // _PyInterpreterFrame
9
9
#include "pycore_genobject.h" // struct _Py_async_gen_state
10
10
#include "pycore_object.h" // _PyObject_GC_UNTRACK()
11
- #include "pycore_opcode.h" // _PyOpcode_Deopt
12
11
#include "pycore_pyerrors.h" // _PyErr_ClearExcState()
13
12
#include "pycore_pystate.h" // _PyThreadState_GET()
14
13
#include "structmember.h" // PyMemberDef
@@ -364,7 +363,7 @@ _PyGen_yf(PyGenObject *gen)
364
363
return NULL ;
365
364
}
366
365
_Py_CODEUNIT next = frame -> prev_instr [1 ];
367
- if (_PyOpcode_Deopt [ _Py_OPCODE (next )] != RESUME || _Py_OPARG (next ) < 2 )
366
+ if (_Py_OPCODE (next ) != RESUME || _Py_OPARG (next ) < 2 )
368
367
{
369
368
/* Not in a yield from */
370
369
return NULL ;
You can’t perform that action at this time.
0 commit comments