File tree Expand file tree Collapse file tree 1 file changed +20
-0
lines changed Expand file tree Collapse file tree 1 file changed +20
-0
lines changed Original file line number Diff line number Diff line change @@ -215,11 +215,31 @@ void mp_byte_code_print(const byte *ip, int len) {
215
215
printf ("JUMP_IF_FALSE_OR_POP " UINT_FMT , ip + unum - ip_start );
216
216
break ;
217
217
218
+ case MP_BC_SETUP_LOOP :
219
+ DECODE_ULABEL ; // loop labels are always forward
220
+ printf ("SETUP_LOOP " UINT_FMT , ip + unum - ip_start );
221
+ break ;
222
+
223
+ case MP_BC_BREAK_LOOP :
224
+ DECODE_ULABEL ; // loop labels are always forward
225
+ printf ("BREAK_LOOP " UINT_FMT , ip + unum - ip_start );
226
+ break ;
227
+
228
+ case MP_BC_CONTINUE_LOOP :
229
+ DECODE_ULABEL ; // loop labels are always forward
230
+ printf ("CONTINUE_LOOP " UINT_FMT , ip + unum - ip_start );
231
+ break ;
232
+
218
233
case MP_BC_SETUP_EXCEPT :
219
234
DECODE_ULABEL ; // except labels are always forward
220
235
printf ("SETUP_EXCEPT " UINT_FMT , ip + unum - ip_start );
221
236
break ;
222
237
238
+ case MP_BC_SETUP_FINALLY :
239
+ DECODE_ULABEL ; // except labels are always forward
240
+ printf ("SETUP_FINALLY " UINT_FMT , ip + unum - ip_start );
241
+ break ;
242
+
223
243
case MP_BC_END_FINALLY :
224
244
// if TOS is an exception, reraises the exception (3 values on TOS)
225
245
// if TOS is an integer, does something else
You can’t perform that action at this time.
0 commit comments