Merge pull request #1142 from notro/ctrl_c_raise
Revert "py/vm: Improve performance of opcode dispatch when using switch stmt."
This commit is contained in:
commit
5c3fcc7490
2
py/vm.c
2
py/vm.c
|
@ -136,7 +136,7 @@ mp_vm_return_kind_t mp_execute_bytecode(mp_code_state_t *code_state, volatile mp
|
|||
#define ENTRY(op) entry_##op
|
||||
#define ENTRY_DEFAULT entry_default
|
||||
#else
|
||||
#define DISPATCH() goto dispatch_loop
|
||||
#define DISPATCH() break
|
||||
#define DISPATCH_WITH_PEND_EXC_CHECK() goto pending_exception_check
|
||||
#define ENTRY(op) case op
|
||||
#define ENTRY_DEFAULT default
|
||||
|
|
Loading…
Reference in New Issue