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
..
2018-09-20 14:33:10 +10:00
2019-07-12 16:48:37 +10:00
2019-03-08 15:53:05 +11:00
2019-06-28 13:54:45 +10:00
2019-05-01 15:24:21 +10:00
2019-03-08 15:53:05 +11:00
2019-03-08 15:53:05 +11:00
2019-03-08 15:53:05 +11:00
2019-03-08 15:53:05 +11:00
2019-03-08 15:53:05 +11:00
2019-03-08 15:53:05 +11:00
2019-03-08 15:53:05 +11:00
2019-08-22 16:07:28 +10:00
2019-09-02 13:30:16 +10:00
2019-08-30 16:44:12 +10:00
2019-09-02 13:14:27 +10:00
2019-09-02 13:14:27 +10:00
2019-02-14 00:35:45 +11:00
2019-02-12 14:54:51 +11:00
2019-02-12 14:54:51 +11:00
2019-07-31 17:00:11 +10:00
2019-08-30 16:44:12 +10:00
2019-08-28 12:47:58 +10:00
2019-03-14 12:22:25 +11:00
2019-08-30 16:44:12 +10:00
2018-10-28 00:38:18 +11:00
2019-08-30 16:44:12 +10:00
2019-08-30 16:44:12 +10:00
2019-03-14 12:22:25 +11:00
2019-03-14 12:22:25 +11:00
2019-05-29 21:17:29 +10:00
2018-10-01 13:31:11 +10:00
2019-05-17 18:06:11 +10:00
2019-05-17 18:04:15 +10:00
2018-12-20 17:52:16 +11:00
2019-04-12 11:34:52 +10:00
2019-07-12 17:10:11 +10:00
2019-04-12 11:34:52 +10:00
2018-12-22 01:40:38 +11:00
2019-02-12 14:54:51 +11:00
2019-05-09 17:11:33 +10:00
2019-05-22 12:56:40 +10:00
2019-06-25 15:03:41 +10:00
2019-03-08 22:46:43 +11:00
2019-02-12 14:54:51 +11:00
2019-07-31 22:37:44 +10:00
2019-08-17 23:23:17 +10:00
2019-07-17 16:09:32 +10:00
2019-09-02 13:14:27 +10:00
2019-08-30 16:44:12 +10:00
2019-02-12 14:54:51 +11:00
2019-08-30 16:44:12 +10:00
2019-07-01 17:10:12 +10:00
2019-04-23 12:40:15 +10:00
2019-08-30 16:44:12 +10:00
2019-08-06 15:58:23 +10:00
2019-06-19 14:53:17 +10:00
2019-08-19 16:14:33 +10:00
2019-08-19 16:14:57 +10:00
2019-08-19 16:14:57 +10:00
2019-08-19 16:14:57 +10:00
2019-06-05 10:54:23 +10:00
2019-03-08 22:46:43 +11:00
2019-08-15 23:02:04 +10:00
2018-12-20 17:40:48 +11:00
2018-12-06 18:02:41 +11:00
2019-02-12 14:54:51 +11:00
2019-07-30 16:34:27 +10:00
2019-02-12 14:54:51 +11:00
2019-08-22 16:05:05 +10:00
2019-02-12 14:54:51 +11:00
2019-02-12 14:54:51 +11:00
2019-08-06 15:58:23 +10:00
2019-08-30 16:44:12 +10:00
2019-08-22 16:05:05 +10:00
2019-02-12 14:54:51 +11:00
2019-05-06 18:28:28 +10:00
2019-02-12 14:54:51 +11:00
2019-02-12 14:54:51 +11:00
2019-02-12 14:54:51 +11:00
2019-05-17 18:04:15 +10:00
2019-02-12 14:54:51 +11:00
2019-02-12 14:54:51 +11:00
2019-02-12 14:54:51 +11:00
2019-02-12 14:54:51 +11:00
2019-02-12 14:54:51 +11:00
2019-04-15 11:14:22 +10:00
2019-02-12 14:54:51 +11:00
2019-02-12 14:54:51 +11:00
2019-05-21 14:24:04 +10:00
2019-07-17 16:12:19 +10:00
2019-02-12 14:54:51 +11:00
2019-08-31 00:14:11 +10:00
2019-02-12 14:54:51 +11:00
2019-02-12 14:54:51 +11:00
2019-02-12 14:54:51 +11:00
2018-09-20 22:06:41 +10:00
2019-07-01 23:46:49 +10:00
2019-05-07 13:54:20 +10:00
2019-08-30 16:48:47 +10:00
2019-08-30 16:48:47 +10:00
2019-08-30 16:44:12 +10:00
2019-02-19 23:44:01 +11:00
2018-09-20 14:41:35 +10:00
2018-12-07 17:28:04 +11:00
2019-08-30 16:44:12 +10:00
2019-05-29 21:14:24 +10:00
2019-07-17 16:09:32 +10:00
2018-10-28 00:38:18 +11:00
2018-10-28 00:38:18 +11:00
2019-07-25 16:37:25 +10:00
2019-08-06 16:08:39 +10:00
2019-02-06 00:19:00 +11:00
2019-05-17 18:04:15 +10:00
2018-11-26 16:13:08 +11:00
2019-08-30 16:44:12 +10:00
2019-03-05 16:09:58 +11:00
2019-05-17 18:04:15 +10:00
2019-02-06 00:19:00 +11:00