diff options
Diffstat (limited to 'py/gc.c')
-rw-r--r-- | py/gc.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -44,6 +44,7 @@ #define DEBUG_PRINT (1) #define DEBUG_printf DEBUG_printf #else // don't print debugging info +#define DEBUG_PRINT (0) #define DEBUG_printf(...) (void)0 #endif @@ -746,7 +747,9 @@ void gc_dump_alloc_table(void) { if (*ptr == (mp_uint_t)&mp_type_tuple) { c = 'T'; } else if (*ptr == (mp_uint_t)&mp_type_list) { c = 'L'; } else if (*ptr == (mp_uint_t)&mp_type_dict) { c = 'D'; } + #if MICROPY_PY_BUILTINS_FLOAT else if (*ptr == (mp_uint_t)&mp_type_float) { c = 'F'; } + #endif else if (*ptr == (mp_uint_t)&mp_type_fun_bc) { c = 'B'; } else if (*ptr == (mp_uint_t)&mp_type_module) { c = 'M'; } else { c = 'h'; } |