File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -215,11 +215,31 @@ void mp_byte_code_print(const byte *ip, int len) {
215215 printf ("JUMP_IF_FALSE_OR_POP " UINT_FMT , ip + unum - ip_start );
216216 break ;
217217
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+
218233 case MP_BC_SETUP_EXCEPT :
219234 DECODE_ULABEL ; // except labels are always forward
220235 printf ("SETUP_EXCEPT " UINT_FMT , ip + unum - ip_start );
221236 break ;
222237
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+
223243 case MP_BC_END_FINALLY :
224244 // if TOS is an exception, reraises the exception (3 values on TOS)
225245 // if TOS is an integer, does something else
You can’t perform that action at this time.
0 commit comments