Damien George
2283b6d68f
py: Pass in address to compiled module instead of returning it.
...
This change makes it so the compiler and persistent code loader take a
mp_compiled_module_t* as their last argument, instead of returning this
struct. This eliminates a duplicate context variable for all callers of
these functions (because the context is now stored in the
mp_compiled_module_t by the caller), and also eliminates any confusion
about which context to use after the mp_compile_to_raw_code or
mp_raw_code_load function returns (because there is now only one context,
that stored in mp_compiled_module_t.context).
Reduces code size by 16 bytes on ARM Cortex-based ports.
Signed-off-by: Damien George <damien@micropython.org>
2022-12-08 12:27:23 +11:00
..
2022-12-06 13:34:52 +11:00
2022-06-20 22:28:18 +10:00
2022-06-20 22:28:18 +10:00
2022-05-24 22:27:18 +10:00
2022-05-23 23:01:12 +10:00
2022-11-28 11:23:22 +11:00
2022-12-08 12:27:23 +11:00
2022-08-23 13:09:57 +10:00
2022-08-23 13:34:06 +10:00
2022-09-19 19:06:15 +10:00
2022-09-19 19:06:07 +10:00
2022-12-08 12:27:23 +11:00
2022-12-08 12:27:23 +11:00
2022-12-08 12:27:23 +11:00
2022-09-19 19:06:15 +10:00
2022-08-11 14:00:13 +10:00
2022-06-20 22:28:18 +10:00
2022-06-20 22:28:18 +10:00
2022-05-23 15:43:06 +10:00
2022-05-23 15:43:06 +10:00
2022-05-26 12:22:07 +10:00
2022-05-23 15:43:06 +10:00
2022-11-11 12:25:32 +11:00
2022-05-23 15:43:06 +10:00
2022-05-23 15:43:06 +10:00
2022-05-23 15:43:06 +10:00
2022-05-23 15:43:06 +10:00
2022-05-23 15:43:06 +10:00
2022-08-12 23:53:34 +10:00
2022-05-25 13:04:45 +10:00
2022-07-23 00:43:08 +10:00
2022-07-23 00:42:54 +10:00
2022-05-25 13:04:45 +10:00
2022-07-18 13:48:23 +10:00
2022-06-14 15:05:37 +01:00
2022-07-18 13:48:23 +10:00
2022-11-22 14:36:21 +11:00
2022-07-18 11:17:46 +10:00
2022-10-12 00:33:09 +11:00
2022-09-29 14:17:37 +02:00
2022-09-26 12:38:58 +10:00
2022-09-15 12:22:18 +10:00
2022-06-02 16:31:37 +10:00
2022-09-19 19:06:15 +10:00
2022-06-02 16:31:37 +10:00
2022-06-02 16:31:37 +10:00
2022-06-02 16:31:37 +10:00
2022-09-19 19:06:15 +10:00
2022-06-02 16:31:37 +10:00
2022-12-06 13:34:17 +11:00
2022-08-26 16:43:55 +10:00
2022-10-11 18:10:26 +11:00
2022-09-19 19:06:15 +10:00
2022-06-02 16:31:37 +10:00
2022-12-06 13:34:17 +11:00
2022-08-10 14:30:47 +10:00
2022-07-23 00:43:08 +10:00
2022-11-15 17:09:49 +11:00
2022-11-15 17:09:49 +11:00
2022-08-11 14:04:13 +10:00
2022-09-19 19:06:13 +10:00
2022-10-26 00:08:41 +11:00
2022-11-08 23:09:22 +11:00
2022-08-11 23:18:02 +10:00
2022-09-19 19:06:15 +10:00
2022-09-19 19:06:15 +10:00
2022-09-19 19:06:15 +10:00
2022-09-19 19:06:15 +10:00
2022-09-19 19:06:15 +10:00
2022-09-19 19:06:15 +10:00
2022-09-19 19:06:15 +10:00
2022-11-25 12:46:14 +11:00
2022-09-19 19:06:15 +10:00
2022-09-19 19:06:16 +10:00
2022-09-19 19:06:15 +10:00
2022-09-19 19:06:15 +10:00
2022-09-19 19:06:15 +10:00
2022-09-19 19:06:15 +10:00
2022-09-19 19:06:15 +10:00
2022-09-19 19:06:15 +10:00
2022-07-18 11:17:46 +10:00
2022-07-18 11:17:46 +10:00
2022-09-19 19:06:15 +10:00
2022-09-19 19:06:15 +10:00
2022-09-19 19:06:15 +10:00
2022-09-19 19:06:15 +10:00
2022-09-19 23:22:46 +10:00
2022-09-19 19:06:15 +10:00
2022-09-19 19:06:15 +10:00
2022-09-19 19:06:15 +10:00
2022-09-19 19:06:15 +10:00
2022-09-19 19:06:15 +10:00
2022-09-19 19:06:15 +10:00
2022-09-19 19:06:15 +10:00
2022-09-19 19:06:15 +10:00
2022-09-19 19:06:15 +10:00
2022-09-19 19:06:15 +10:00
2022-09-19 19:06:15 +10:00
2022-12-06 13:34:52 +11:00
2022-10-11 17:50:19 +11:00
2022-09-19 19:06:15 +10:00
2022-09-19 19:06:15 +10:00
2022-09-19 19:06:15 +10:00
2022-09-19 19:06:16 +10:00
2022-09-19 19:06:16 +10:00
2022-09-19 19:06:15 +10:00
2022-09-19 19:06:07 +10:00
2022-09-23 16:04:13 +10:00
2022-08-26 16:44:35 +10:00
2022-06-23 11:46:47 +10:00
2022-12-08 12:27:23 +11:00
2022-12-08 12:27:23 +11:00
2022-09-19 19:06:15 +10:00
2022-11-15 17:09:49 +11:00
2022-11-15 17:09:49 +11:00
2022-08-11 23:18:02 +10:00
2022-08-11 23:18:02 +10:00
2022-09-19 23:27:08 +10:00
2022-07-25 14:23:34 +10:00
2022-09-19 23:25:26 +10:00
2022-09-19 23:25:26 +10:00
2022-07-18 13:52:01 +10:00
2022-09-19 19:06:07 +10:00
2022-09-19 19:06:07 +10:00
2022-07-12 22:48:55 +10:00