summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--py/gc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/py/gc.c b/py/gc.c
index 4e4cd9f303..cb22050d44 100644
--- a/py/gc.c
+++ b/py/gc.c
@@ -734,6 +734,8 @@ void gc_dump_alloc_table(void) {
if (*ptr == &mp_type_tuple) { c = 'T'; }
else if (*ptr == &mp_type_list) { c = 'L'; }
else if (*ptr == &mp_type_dict) { c = 'D'; }
+ else if (*ptr == &mp_type_str || *ptr == &mp_type_bytes) { c = 'S'; }
+ else if (*ptr == &mp_type_bytearray || *ptr == &mp_type_array) { c = 'A'; }
#if MICROPY_PY_BUILTINS_FLOAT
else if (*ptr == &mp_type_float) { c = 'F'; }
#endif