Skip to content

Commit c120a98

Browse files
fix release builds
1 parent fb72fcd commit c120a98

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Python/ceval_macros.h

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ typedef PyObject* (*py_tail_call_funcptr)(_PyInterpreterFrame *, _PyStackRef *,
8686
#else
8787
#define DISPATCH_GOTO() do { \
8888
__attribute__((musttail)) \
89-
return (INSTRUCTION_TABLE[opcode])(frame, stack_pointer, tstate, next_instr, entry_frame, oparg); \
89+
return (INSTRUCTION_TABLE[opcode])(frame, stack_pointer, tstate, next_instr, oparg, entry_frame); \
9090
} while (0)
9191
#endif
9292
#elif USE_COMPUTED_GOTOS
@@ -163,6 +163,7 @@ do { \
163163
return (INSTRUCTION_TABLE[opcode])(frame, stack_pointer, tstate, next_instr, oparg, entry_frame, lltrace); \
164164
} while (0)
165165
#else
166+
#define DISPATCH_INLINED(NEW_FRAME) \
166167
do { \
167168
assert(tstate->interp->eval_frame == NULL); \
168169
_PyFrame_SetStackPointer(frame, stack_pointer); \
@@ -176,7 +177,7 @@ do { \
176177
stack_pointer = _PyFrame_GetStackPointer(frame); \
177178
NEXTOPARG(); \
178179
__attribute__((musttail)) \
179-
return (INSTRUCTION_TABLE[opcode])(frame, stack_pointer, tstate, next_instr, oparg, entry_frame, lltrace); \
180+
return (INSTRUCTION_TABLE[opcode])(frame, stack_pointer, tstate, next_instr, oparg, entry_frame); \
180181
} while (0)
181182
#endif
182183
#else

0 commit comments

Comments
 (0)