summaryrefslogtreecommitdiffstatshomepage
path: root/py/mpstate.h
diff options
context:
space:
mode:
Diffstat (limited to 'py/mpstate.h')
-rw-r--r--py/mpstate.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/py/mpstate.h b/py/mpstate.h
index 5f6cf55936..2519c77e2d 100644
--- a/py/mpstate.h
+++ b/py/mpstate.h
@@ -167,6 +167,11 @@ typedef struct _mp_state_vm_t {
mp_obj_dict_t *mp_module_builtins_override_dict;
#endif
+ #if MICROPY_PERSISTENT_CODE_TRACK_RELOC_CODE
+ // An mp_obj_list_t that tracks relocated native code to prevent the GC from reclaiming them.
+ mp_obj_t track_reloc_code_list;
+ #endif
+
// include any root pointers defined by a port
MICROPY_PORT_ROOT_POINTERS