Damien George
b29fae0c56
py/bc: Fix size calculation of UNWIND_JUMP opcode in mp_opcode_format.
...
Prior to this patch mp_opcode_format would calculate the incorrect size of
the MP_BC_UNWIND_JUMP opcode, missing the additional byte. But, because
opcodes below 0x10 are unused and treated as bytes in the .mpy load/save
and freezing code, this bug did not show any symptoms, since nested unwind
jumps would rarely (if ever) reach a depth of 16 (so the extra byte of this
opcode would be between 0x01 and 0x0f and be correctly loaded/saved/frozen
simply as an undefined opcode).
This patch fixes this bug by correctly accounting for the additional byte.
.
2019-09-02 13:30:16 +10:00
..
2017-06-10 20:03:01 +03:00
2016-04-13 15:27:06 +01:00
2016-09-28 11:52:13 +10:00
2018-02-14 16:46:44 +11:00
2018-02-07 15:55:52 +11:00
2017-11-24 15:30:12 +11:00
2017-06-10 20:03:01 +03:00
2017-03-04 00:13:27 +03:00
2018-10-22 22:50:28 +11:00
2015-12-20 16:54:34 +02:00
2015-01-13 16:21:23 +00:00
2015-08-21 12:02:09 +01:00
2018-02-19 16:25:30 +11:00
2014-08-26 09:31:26 +01:00
2018-10-18 12:28:09 +11:00
2016-11-22 15:49:02 +11:00
2017-09-01 00:43:52 +03:00
2017-08-30 01:39:24 +03:00
2014-01-19 18:41:55 +02:00
2014-01-19 18:41:55 +02:00
2017-06-10 20:03:01 +03:00
2014-01-19 18:41:55 +02:00
2018-02-21 23:34:17 +11:00
2018-02-21 22:58:14 +11:00
2014-01-19 18:41:55 +02:00
2017-12-19 16:13:00 +11:00
2015-09-01 10:39:11 +03:00
2016-03-15 13:07:41 +00:00
2014-12-12 17:19:56 +00:00
2014-07-05 06:14:29 +01:00
2015-12-12 13:42:51 +00:00
2015-01-29 14:56:09 +00:00
2018-12-06 18:02:41 +11:00
2015-03-25 23:10:09 +00:00
2014-07-05 06:14:29 +01:00
2017-12-19 15:02:34 +11:00
2014-01-27 01:07:58 +02:00
2018-10-18 12:15:16 +11:00
2015-03-25 23:10:09 +00:00
2018-08-17 15:43:47 +10:00
2018-06-27 16:55:05 +10:00
2018-06-27 16:55:05 +10:00
2018-06-27 16:55:05 +10:00
2016-11-26 16:39:25 +11:00
2017-06-10 20:03:01 +03:00
2015-04-04 22:05:30 +01:00
2017-06-10 20:03:01 +03:00
2017-06-10 20:03:01 +03:00
2017-06-10 20:03:01 +03:00
2017-01-05 00:16:29 +03:00
2014-01-19 18:41:55 +02:00
2014-04-07 05:00:03 +01:00
2016-09-28 11:10:27 +10:00
2014-04-07 05:00:03 +01:00
2014-01-19 18:41:55 +02:00
2015-09-03 23:06:18 +01:00
2016-03-15 13:07:41 +00:00
2017-08-15 11:33:43 +10:00
2014-07-05 06:14:29 +01:00
2018-08-17 15:46:04 +10:00
2019-04-28 22:12:17 +10:00
2017-11-24 14:48:41 +11:00
2018-04-04 15:26:18 +10:00
2018-02-14 16:46:44 +11:00
2016-02-01 16:07:21 +00:00
2017-05-25 20:48:16 +10:00
2017-09-06 00:23:41 +03:00
2014-02-10 07:13:32 +02:00
2014-01-19 18:41:55 +02:00