@@ -68,7 +68,7 @@ typedef enum {
68
68
#define PUSH_EXC_BLOCK () \
69
69
DECODE_ULABEL; /* except labels are always forward */ \
70
70
++ exc_sp ; \
71
- exc_sp -> opcode = op ; \
71
+ exc_sp -> opcode = * save_ip ; \
72
72
exc_sp -> handler = ip + unum ; \
73
73
exc_sp -> val_sp = MP_TAGPTR_MAKE (sp , currently_in_except_block ); \
74
74
exc_sp -> prev_exc = MP_OBJ_NULL ; \
@@ -200,8 +200,7 @@ mp_vm_return_kind_t mp_execute_byte_code_2(const byte *code_info, const byte **i
200
200
#define DISPATCH () do { \
201
201
TRACE(ip); \
202
202
save_ip = ip; \
203
- op = *ip++; \
204
- goto *entry_table[op]; \
203
+ goto *entry_table[*ip++]; \
205
204
} while(0)
206
205
#define ENTRY (op ) entry_##op
207
206
#define ENTRY_DEFAULT entry_default
@@ -229,7 +228,6 @@ mp_vm_return_kind_t mp_execute_byte_code_2(const byte *code_info, const byte **i
229
228
outer_dispatch_loop :
230
229
if (nlr_push (& nlr ) == 0 ) {
231
230
// local variables that are not visible to the exception handler
232
- byte op = 0 ;
233
231
const byte * ip = * ip_in_out ;
234
232
mp_obj_t * sp = * sp_in_out ;
235
233
machine_uint_t unum ;
@@ -256,11 +254,8 @@ mp_vm_return_kind_t mp_execute_byte_code_2(const byte *code_info, const byte **i
256
254
#else
257
255
TRACE (ip );
258
256
save_ip = ip ;
259
- op = * ip ++ ;
260
-
261
- switch (op ) {
257
+ switch (* ip ++ ) {
262
258
#endif
263
- //printf("ip=%p sp=%p op=%u\n", save_ip, sp, op);
264
259
265
260
ENTRY (MP_BC_LOAD_CONST_FALSE ):
266
261
PUSH (mp_const_false );
0 commit comments