mirror of
https://github.com/micropython/micropython.git
synced 2026-01-28 14:50:21 +01:00
This adds support to `mp_raw_code_save_fun_to_bytes()` so that it can handle saving functions that have children. It does this by inspecting the MP_BC_MAKE_FUNCTION/etc opcodes to work out how many children there are, and creating a tree of simplified raw code information. Signed-off-by: Damien George <damien@micropython.org>
5.7 KiB
5.7 KiB