summaryrefslogtreecommitdiffstatshomepage
path: root/py
diff options
context:
space:
mode:
authorDavid Lechner <david@pybricks.com>2022-07-02 15:05:41 -0500
committerDamien George <damien@micropython.org>2022-07-18 13:52:01 +1000
commit68f46342aa4c20f263cc688cc86d03d03207921e (patch)
tree5d6579cf986dc51b3f8eb4203a74dfc5d831da68 /py
parent7e4b205cb00013b272e4cf9fac128866bf0e1f21 (diff)
downloadmicropython-68f46342aa4c20f263cc688cc86d03d03207921e.tar.gz
micropython-68f46342aa4c20f263cc688cc86d03d03207921e.zip
shared/runtime/pyexec: Use MP_REGISTER_ROOT_POINTER().
This uses MP_REGISTER_ROOT_POINTER() to register repl_line instead of using a conditional inside of mp_state_vm_t. Signed-off-by: David Lechner <david@pybricks.com>
Diffstat (limited to 'py')
-rw-r--r--py/mpstate.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/py/mpstate.h b/py/mpstate.h
index b51e72cd84..67146d282b 100644
--- a/py/mpstate.h
+++ b/py/mpstate.h
@@ -198,10 +198,6 @@ typedef struct _mp_state_vm_t {
// root pointers for extmod
- #if MICROPY_REPL_EVENT_DRIVEN
- vstr_t *repl_line;
- #endif
-
#if MICROPY_PY_OS_DUPTERM
mp_obj_t dupterm_objs[MICROPY_PY_OS_DUPTERM];
#endif