Skip to content

Commit a2fd315

Browse files
fix
1 parent 406ccfa commit a2fd315

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Python/ceval.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1022,6 +1022,7 @@ _PyEval_EvalFrameDefault(PyThreadState *tstate, _PyInterpreterFrame *frame, int
10221022
#if USE_COMPUTED_GOTOS && !Py_TAIL_CALL_INTERP
10231023
/* Import the static jump table */
10241024
#include "opcode_targets.h"
1025+
void **opcode_targets = opcode_targets_table;
10251026
#endif
10261027

10271028
#ifdef Py_STATS
@@ -1031,7 +1032,6 @@ _PyEval_EvalFrameDefault(PyThreadState *tstate, _PyInterpreterFrame *frame, int
10311032
uint8_t opcode; /* Current opcode */
10321033
int oparg; /* Current opcode argument, if any */
10331034
assert(tstate->current_frame == NULL || tstate->current_frame->stackpointer != NULL);
1034-
void **opcode_targets = opcode_targets_table;
10351035
#endif
10361036
_PyEntryFrame entry;
10371037

0 commit comments

Comments
 (0)