File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -129,11 +129,12 @@ mp_vm_return_kind_t PLACE_IN_ITCM(mp_execute_bytecode)(mp_code_state_t *code_sta
129
129
#endif
130
130
#if MICROPY_OPT_COMPUTED_GOTO
131
131
#include "py/vmentrytable.h"
132
- #define DISPATCH () do { \
132
+ #define ONE_TRUE_DISPATCH () one_true_dispatch: do { \
133
133
TRACE(ip); \
134
134
MARK_EXC_IP_GLOBAL(); \
135
135
goto *(void*)((char*)&&entry_MP_BC_LOAD_CONST_FALSE + entry_table[*ip++]); \
136
136
} while (0)
137
+ #define DISPATCH () do { goto one_true_dispatch; } while(0)
137
138
#define DISPATCH_WITH_PEND_EXC_CHECK () goto pending_exception_check
138
139
#define ENTRY (op ) entry_##op
139
140
#define ENTRY_DEFAULT entry_default
@@ -199,7 +200,7 @@ run_code_state: ;
199
200
for (;;) {
200
201
dispatch_loop :
201
202
#if MICROPY_OPT_COMPUTED_GOTO
202
- DISPATCH ();
203
+ ONE_TRUE_DISPATCH ();
203
204
#else
204
205
TRACE (ip );
205
206
MARK_EXC_IP_GLOBAL ();
You can’t perform that action at this time.
0 commit comments