summaryrefslogtreecommitdiff
path: root/py/persistentcode.c
diff options
context:
space:
mode:
Diffstat (limited to 'py/persistentcode.c')
-rw-r--r--py/persistentcode.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/py/persistentcode.c b/py/persistentcode.c
index 7b002e7fc..1fe9a9a23 100644
--- a/py/persistentcode.c
+++ b/py/persistentcode.c
@@ -324,11 +324,9 @@ STATIC mp_raw_code_t *load_raw_code(mp_reader_t *reader, mp_module_context_t *co
MP_BC_PRELUDE_SIG_DECODE(ip);
// Assign bytecode to raw code object
mp_emit_glue_assign_bytecode(rc, fun_data,
- #if MICROPY_PERSISTENT_CODE_SAVE || MICROPY_DEBUG_PRINTERS
- fun_data_len,
- #endif
children,
#if MICROPY_PERSISTENT_CODE_SAVE
+ fun_data_len,
n_children,
#endif
scope_flags);